0s autopkgtest [18:27:19]: starting date and time: 2025-10-18 18:27:19+0000 0s autopkgtest [18:27:19]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [18:27:19]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wjdnjvsy/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-10.secgroup --name adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 47s autopkgtest [18:28:06]: testbed dpkg architecture: s390x 47s autopkgtest [18:28:06]: testbed apt version: 3.1.6ubuntu2 47s autopkgtest [18:28:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup 47s autopkgtest [18:28:06]: testbed release detected to be: None 48s autopkgtest [18:28:07]: updating testbed package index (apt update) 48s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 49s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 49s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 49s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 49s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 49s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 49s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 49s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 49s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 49s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 49s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 49s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 49s Fetched 1023 kB in 1s (1060 kB/s) 50s Reading package lists... 51s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 51s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 51s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 51s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 51s Reading package lists... 51s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s Calculating upgrade... 52s The following packages will be upgraded: 52s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 52s libpython3-stdlib lto-disabled-list python3 python3-minimal 52s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 52s Need to get 2763 kB of archives. 52s After this operation, 14.3 kB of additional disk space will be used. 52s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 52s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 52s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 52s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 52s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 53s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 53s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 53s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 53s dpkg-preconfigure: unable to re-open stdin: No such file or directory 53s Fetched 2763 kB in 1s (3034 kB/s) 53s (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 ... 56852 files and directories currently installed.) 53s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 53s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 53s Setting up python3-minimal (3.13.7-2) ... 53s (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 ... 56852 files and directories currently installed.) 53s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 53s running python pre-rtupdate hooks for python3.13... 53s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 53s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 53s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 53s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 53s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 53s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 53s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 53s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 53s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 53s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 53s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 53s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 53s Unpacking lto-disabled-list (71) over (69) ... 53s Setting up lto-disabled-list (71) ... 53s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 53s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 53s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 53s Setting up apt (3.1.8ubuntu1) ... 54s Setting up python3 (3.13.7-2) ... 54s running python rtupdate hooks for python3.13... 54s running python post-rtupdate hooks for python3.13... 54s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 54s Processing triggers for man-db (2.13.1-1) ... 55s Processing triggers for libc-bin (2.42-0ubuntu3) ... 56s autopkgtest [18:28:15]: upgrading testbed (apt dist-upgrade and autopurge) 56s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s Calculating upgrade... 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Solving dependencies... 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s autopkgtest [18:28:16]: rebooting testbed after setup commands that affected boot 71s autopkgtest [18:28:30]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP Mon Sep 22 08:56:47 UTC 2025 73s autopkgtest [18:28:32]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 85s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (dsc) [4834 B] 85s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [661 kB] 85s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (tar) [5679 kB] 85s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.0-2 (diff) [140 kB] 85s gpgv: Signature made Fri Sep 12 02:03:07 2025 UTC 85s gpgv: using RSA key 43B03E28326C54CFA2EC66A340F65066AD7C16DB 85s gpgv: Can't check signature: No public key 85s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.0-2.dsc: no acceptable signature found 86s autopkgtest [18:28:45]: testing package glib2.0 version 2.86.0-2 91s autopkgtest [18:28:50]: build not needed 102s autopkgtest [18:29:01]: test build: preparing testbed 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Solving dependencies... 102s The following NEW packages will be installed: 102s build-essential cpp cpp-15 cpp-15-s390x-linux-gnu cpp-s390x-linux-gnu g++ 102s g++-15 g++-15-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-15 102s gcc-15-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 102s libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 libisl23 libitm1 102s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 102s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-15-dev 102s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev 103s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 56.5 MB of archives. 103s After this operation, 186 MB of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libisl23 s390x 0.27-1 [704 kB] 103s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libmpc3 s390x 1.3.1-1build3 [57.6 kB] 103s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [10.2 MB] 105s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15 s390x 15.2.0-5ubuntu1 [1024 B] 105s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [5746 B] 105s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x cpp s390x 4:15.2.0-4ubuntu1 [22.4 kB] 105s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x libcc1-0 s390x 15.2.0-5ubuntu1 [50.0 kB] 105s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libgomp1 s390x 15.2.0-5ubuntu1 [154 kB] 105s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libitm1 s390x 15.2.0-5ubuntu1 [30.9 kB] 105s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libasan8 s390x 15.2.0-5ubuntu1 [2969 kB] 105s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libubsan1 s390x 15.2.0-5ubuntu1 [1211 kB] 105s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libgcc-15-dev s390x 15.2.0-5ubuntu1 [1045 kB] 105s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [19.9 MB] 106s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15 s390x 15.2.0-5ubuntu1 [512 kB] 106s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [1208 B] 106s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x gcc s390x 4:15.2.0-4ubuntu1 [5018 B] 106s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libstdc++-15-dev s390x 15.2.0-5ubuntu1 [2658 kB] 107s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [11.7 MB] 107s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15 s390x 15.2.0-5ubuntu1 [23.7 kB] 107s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x g++-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [956 B] 107s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x g++ s390x 4:15.2.0-4ubuntu1 [1078 B] 107s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x build-essential s390x 12.12ubuntu1 [5090 B] 107s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x libffi-dev s390x 3.5.2-1build1 [60.4 kB] 107s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x uuid-dev s390x 2.41-4ubuntu4 [55.6 kB] 107s Get:25 http://ftpmaster.internal/ubuntu resolute/main s390x libblkid-dev s390x 2.41-4ubuntu4 [236 kB] 107s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x libsepol-dev s390x 3.8.1-1 [415 kB] 107s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-16-0 s390x 10.46-1 [260 kB] 107s Get:28 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-32-0 s390x 10.46-1 [245 kB] 107s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-posix3 s390x 10.46-1 [7226 B] 107s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-dev s390x 10.46-1 [900 kB] 107s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libselinux1-dev s390x 3.8.1-1build1 [178 kB] 107s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libmount-dev s390x 2.41-4ubuntu4 [36.2 kB] 107s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB] 107s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x libpkgconf3 s390x 1.8.1-4build1 [31.3 kB] 107s Get:35 http://ftpmaster.internal/ubuntu resolute/main s390x pkgconf-bin s390x 1.8.1-4build1 [21.8 kB] 107s Get:36 http://ftpmaster.internal/ubuntu resolute/main s390x pkgconf s390x 1.8.1-4build1 [16.8 kB] 107s Get:37 http://ftpmaster.internal/ubuntu resolute/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu2 [897 kB] 107s Get:38 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev s390x 2.86.0-2 [1830 kB] 107s Fetched 56.5 MB in 5s (12.0 MB/s) 107s Selecting previously unselected package libisl23:s390x. 108s (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 ... 56852 files and directories currently installed.) 108s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 108s Unpacking libisl23:s390x (0.27-1) ... 108s Selecting previously unselected package libmpc3:s390x. 108s Preparing to unpack .../01-libmpc3_1.3.1-1build3_s390x.deb ... 108s Unpacking libmpc3:s390x (1.3.1-1build3) ... 108s Selecting previously unselected package cpp-15-s390x-linux-gnu. 108s Preparing to unpack .../02-cpp-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking cpp-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package cpp-15. 108s Preparing to unpack .../03-cpp-15_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package cpp-s390x-linux-gnu. 108s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package cpp. 108s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking cpp (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package libcc1-0:s390x. 108s Preparing to unpack .../06-libcc1-0_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libcc1-0:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package libgomp1:s390x. 108s Preparing to unpack .../07-libgomp1_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libgomp1:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package libitm1:s390x. 108s Preparing to unpack .../08-libitm1_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libitm1:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package libasan8:s390x. 108s Preparing to unpack .../09-libasan8_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libasan8:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package libubsan1:s390x. 108s Preparing to unpack .../10-libubsan1_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libubsan1:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package libgcc-15-dev:s390x. 108s Preparing to unpack .../11-libgcc-15-dev_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libgcc-15-dev:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package gcc-15-s390x-linux-gnu. 108s Preparing to unpack .../12-gcc-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking gcc-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package gcc-15. 108s Preparing to unpack .../13-gcc-15_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package gcc-s390x-linux-gnu. 108s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package gcc. 108s Preparing to unpack .../15-gcc_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking gcc (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package libstdc++-15-dev:s390x. 108s Preparing to unpack .../16-libstdc++-15-dev_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking libstdc++-15-dev:s390x (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package g++-15-s390x-linux-gnu. 108s Preparing to unpack .../17-g++-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking g++-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package g++-15. 108s Preparing to unpack .../18-g++-15_15.2.0-5ubuntu1_s390x.deb ... 108s Unpacking g++-15 (15.2.0-5ubuntu1) ... 108s Selecting previously unselected package g++-s390x-linux-gnu. 108s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package g++. 108s Preparing to unpack .../20-g++_4%3a15.2.0-4ubuntu1_s390x.deb ... 108s Unpacking g++ (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package build-essential. 108s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ... 108s Unpacking build-essential (12.12ubuntu1) ... 108s Selecting previously unselected package libffi-dev:s390x. 108s Preparing to unpack .../22-libffi-dev_3.5.2-1build1_s390x.deb ... 108s Unpacking libffi-dev:s390x (3.5.2-1build1) ... 108s Selecting previously unselected package uuid-dev:s390x. 108s Preparing to unpack .../23-uuid-dev_2.41-4ubuntu4_s390x.deb ... 108s Unpacking uuid-dev:s390x (2.41-4ubuntu4) ... 108s Selecting previously unselected package libblkid-dev:s390x. 108s Preparing to unpack .../24-libblkid-dev_2.41-4ubuntu4_s390x.deb ... 108s Unpacking libblkid-dev:s390x (2.41-4ubuntu4) ... 108s Selecting previously unselected package libsepol-dev:s390x. 108s Preparing to unpack .../25-libsepol-dev_3.8.1-1_s390x.deb ... 108s Unpacking libsepol-dev:s390x (3.8.1-1) ... 108s Selecting previously unselected package libpcre2-16-0:s390x. 108s Preparing to unpack .../26-libpcre2-16-0_10.46-1_s390x.deb ... 108s Unpacking libpcre2-16-0:s390x (10.46-1) ... 108s Selecting previously unselected package libpcre2-32-0:s390x. 108s Preparing to unpack .../27-libpcre2-32-0_10.46-1_s390x.deb ... 108s Unpacking libpcre2-32-0:s390x (10.46-1) ... 108s Selecting previously unselected package libpcre2-posix3:s390x. 108s Preparing to unpack .../28-libpcre2-posix3_10.46-1_s390x.deb ... 108s Unpacking libpcre2-posix3:s390x (10.46-1) ... 108s Selecting previously unselected package libpcre2-dev:s390x. 108s Preparing to unpack .../29-libpcre2-dev_10.46-1_s390x.deb ... 108s Unpacking libpcre2-dev:s390x (10.46-1) ... 108s Selecting previously unselected package libselinux1-dev:s390x. 108s Preparing to unpack .../30-libselinux1-dev_3.8.1-1build1_s390x.deb ... 108s Unpacking libselinux1-dev:s390x (3.8.1-1build1) ... 109s Selecting previously unselected package libmount-dev:s390x. 109s Preparing to unpack .../31-libmount-dev_2.41-4ubuntu4_s390x.deb ... 109s Unpacking libmount-dev:s390x (2.41-4ubuntu4) ... 109s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 109s Preparing to unpack .../32-libsysprof-capture-4-dev_48.0-2_s390x.deb ... 109s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ... 109s Selecting previously unselected package libpkgconf3:s390x. 109s Preparing to unpack .../33-libpkgconf3_1.8.1-4build1_s390x.deb ... 109s Unpacking libpkgconf3:s390x (1.8.1-4build1) ... 109s Selecting previously unselected package pkgconf-bin. 109s Preparing to unpack .../34-pkgconf-bin_1.8.1-4build1_s390x.deb ... 109s Unpacking pkgconf-bin (1.8.1-4build1) ... 109s Selecting previously unselected package pkgconf:s390x. 109s Preparing to unpack .../35-pkgconf_1.8.1-4build1_s390x.deb ... 109s Unpacking pkgconf:s390x (1.8.1-4build1) ... 109s Selecting previously unselected package zlib1g-dev:s390x. 109s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_s390x.deb ... 109s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 109s Selecting previously unselected package libgio-2.0-dev:s390x. 109s Preparing to unpack .../37-libgio-2.0-dev_2.86.0-2_s390x.deb ... 109s Unpacking libgio-2.0-dev:s390x (2.86.0-2) ... 109s Setting up libgomp1:s390x (15.2.0-5ubuntu1) ... 109s Setting up libffi-dev:s390x (3.5.2-1build1) ... 109s Setting up libpcre2-16-0:s390x (10.46-1) ... 109s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ... 109s Setting up libpcre2-32-0:s390x (10.46-1) ... 109s Setting up libpkgconf3:s390x (1.8.1-4build1) ... 109s Setting up uuid-dev:s390x (2.41-4ubuntu4) ... 109s Setting up libmpc3:s390x (1.3.1-1build3) ... 109s Setting up libsepol-dev:s390x (3.8.1-1) ... 109s Setting up pkgconf-bin (1.8.1-4build1) ... 109s Setting up libubsan1:s390x (15.2.0-5ubuntu1) ... 109s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 109s Setting up libpcre2-posix3:s390x (10.46-1) ... 109s Setting up libasan8:s390x (15.2.0-5ubuntu1) ... 109s Setting up libisl23:s390x (0.27-1) ... 109s Setting up libcc1-0:s390x (15.2.0-5ubuntu1) ... 109s Setting up libitm1:s390x (15.2.0-5ubuntu1) ... 109s Setting up libblkid-dev:s390x (2.41-4ubuntu4) ... 109s Setting up libgcc-15-dev:s390x (15.2.0-5ubuntu1) ... 109s Setting up libpcre2-dev:s390x (10.46-1) ... 109s Setting up libselinux1-dev:s390x (3.8.1-1build1) ... 109s Setting up pkgconf:s390x (1.8.1-4build1) ... 109s Setting up libstdc++-15-dev:s390x (15.2.0-5ubuntu1) ... 109s Setting up cpp-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 109s Setting up libmount-dev:s390x (2.41-4ubuntu4) ... 109s Setting up gcc-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 109s Setting up g++-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 109s Setting up libgio-2.0-dev:s390x (2.86.0-2) ... 109s Setting up cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up cpp-15 (15.2.0-5ubuntu1) ... 109s Setting up cpp (4:15.2.0-4ubuntu1) ... 109s Setting up g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up gcc-15 (15.2.0-5ubuntu1) ... 109s Setting up g++-15 (15.2.0-5ubuntu1) ... 109s Setting up gcc (4:15.2.0-4ubuntu1) ... 109s Setting up g++ (4:15.2.0-4ubuntu1) ... 109s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 109s Setting up build-essential (12.12ubuntu1) ... 109s Processing triggers for libc-bin (2.42-0ubuntu3) ... 109s Processing triggers for man-db (2.13.1-1) ... 109s Processing triggers for libglib2.0-0t64:s390x (2.86.0-2) ... 109s No schema files found: doing nothing. 109s Processing triggers for install-info (7.1.1-1ubuntu1) ... 110s autopkgtest [18:29:09]: test build: [----------------------- 111s + mode=dynamic 111s + getopt -o --long static -n debian/tests/build -- 111s + getopt_temp= -- 111s + eval set -- -- 111s + set -- -- 111s + true 111s + shift 111s + break 111s + mktemp -d 111s + WORKDIR=/tmp/tmp.fnGx75I75w 111s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 111s + cd /tmp/tmp.fnGx75I75w 111s + [ -n ] 111s + CROSS_COMPILE= 111s + cat 111s + cat 111s + cat 111s + cat 111s + cat 111s + cat 111s + cflags= 111s + pcflags= 111s + packages=glib-2.0 111s + pkg-config --cflags --libs glib-2.0 111s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 111s build (glib, dynamic): OK 111s run (glib, dynamic): OK 111s + echo build (glib, dynamic): OK 111s + [ -x glib-dynamic ] 111s + foo=bar ./glib-dynamic 111s + echo run (glib, dynamic): OK 111s + cflags= 111s + pcflags= 111s + packages=gobject-2.0 111s + pkg-config --cflags --libs gobject-2.0 111s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 111s build (gobject, dynamic): OK 111s + echo build (gobject, dynamic): OK 111s + [ -x gobject-dynamic ] 111s + foo=bar ./gobject-dynamic 111s + echo run (gobject, dynamic): OK 111s + cflags= 111s + pcflags= 111s + packages=gio-2.0 111s + pkg-config --cflags --libs gio-2.0 111s run (gobject, dynamic): OK 111s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 111s build (gio, dynamic): OK 111s + echo build (gio, dynamic): OK 111s + [ -x gio-dynamic ] 111s + foo=bar ./gio-dynamic 111s + echo run (gio, dynamic): OK 111s + cflags= 111s + pcflags= 111s + packages=gio-unix-2.0 111s + pkg-config --cflags --libs gio-unix-2.0 111s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 111s run (gio, dynamic): OK 111s build (gio-unix, dynamic): OK 111s + echo build (gio-unix, dynamic): OK 111s + [ -x gio-unix-dynamic ] 111s + foo=bar ./gio-unix-dynamic 111s + echo run (gio-unix, dynamic): OK 111s + cflags= 111s + pcflags= 111s + packages=gmodule-2.0 111s + pkg-config --cflags --libs gmodule-2.0 111s run (gio-unix, dynamic): OK 111s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 111s build (gmodule, dynamic): OK 111s run (gmodule, dynamic): OK 111s + echo build (gmodule, dynamic): OK 111s + [ -x gmodule-dynamic ] 111s + foo=bar ./gmodule-dynamic 111s + echo run (gmodule, dynamic): OK 111s + cflags= 111s + pcflags= 111s + packages=gthread-2.0 111s + pkg-config --cflags --libs gthread-2.0 111s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 111s build (gthread, dynamic): OK 111s + echo build (gthread, dynamic): OK 111s + [ -x gthread-dynamic ] 111s + foo=bar ./gthread-dynamic 111s run (gthread, dynamic): OK 111s + echo run (gthread, dynamic): OK 111s + rm -rf /tmp/tmp.fnGx75I75w 111s autopkgtest [18:29:10]: test build: -----------------------] 112s build PASS (superficial) 112s autopkgtest [18:29:11]: test build: - - - - - - - - - - results - - - - - - - - - - 112s autopkgtest [18:29:11]: test build-static: preparing testbed 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Solving dependencies... 113s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s autopkgtest [18:29:13]: test build-static: [----------------------- 114s + mode=dynamic 114s + getopt -o --long static -n debian/tests/build -- --static 114s + getopt_temp= --static -- 114s + eval set -- --static -- 114s + set -- --static -- 114s + true 114s + mode=static 114s + shift 114s + continue 114s + true 114s + shift 114s + break 114s + mktemp -d 114s + WORKDIR=/tmp/tmp.kCLc092k3J 114s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 114s + cd /tmp/tmp.kCLc092k3J 114s + [ -n ] 114s + CROSS_COMPILE= 114s + cat 114s + cat 114s + cat 114s + cat 114s + cat 114s + cat 114s + cflags= 114s + pcflags= 114s + packages=glib-2.0 114s + cflags=-static 114s + pcflags=--static 114s + pkg-config --static --cflags --libs glib-2.0 114s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 114s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 114s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s + echo build (glib, static): OK 114s + [ -x glib-static ] 114s + foo=bar ./glib-static 114s + echo run (glib, static): OK 114s + cflags= 114s + pcflags= 114s + packages=gobject-2.0 114s + cflags=-static 114s + pcflags=--static 114s + pkg-config --static --cflags --libs gobject-2.0 114s build (glib, static): OK 114s run (glib, static): OK 114s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 114s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 114s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s + echo build (gobject, static): OK 114s + [ -x gobject-static ] 114s + foo=bar ./gobject-static 114s + echo run (gobject, static): OK 114s + cflags= 114s + pcflags= 114s + packages=gio-2.0 114s + cflags=-static 114s + pcflags=--static 114s + continue 114s + cflags= 114s + pcflags= 114s + packages=gio-unix-2.0 114s + cflags=-static 114s + pcflags=--static 114s + continue 114s + cflags= 114s + pcflags= 114s + packages=gmodule-2.0 114s + cflags=-static 114s + pcflags=--static 114s + pkg-config --static --cflags --libs gmodule-2.0 114s build (gobject, static): OK 114s run (gobject, static): OK 114s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 114s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 114s (.text+0x66e): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 114s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s + echo build (gmodule, static): OK 114s + [ -x gmodule-static ] 114s + foo=bar ./gmodule-static 114s + echo run (gmodule, static): OK 114s + cflags= 114s + pcflags= 114s + packages=gthread-2.0 114s + cflags=-static 114s + pcflags=--static 114s + pkg-config --static --cflags --libs gthread-2.0 114s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 114s build (gmodule, static): OK 114s run (gmodule, static): OK 114s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 114s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 114s build (gthread, static): OK 114s run (gthread, static): OK 114s + echo build (gthread, static): OK 114s + [ -x gthread-static ] 114s + foo=bar ./gthread-static 114s + echo run (gthread, static): OK 114s + rm -rf /tmp/tmp.kCLc092k3J 115s autopkgtest [18:29:14]: test build-static: -----------------------] 115s autopkgtest [18:29:14]: test build-static: - - - - - - - - - - results - - - - - - - - - - 115s build-static PASS (superficial) 115s autopkgtest [18:29:14]: test girepository-tools: preparing testbed 136s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 173s autopkgtest [18:30:12]: testbed dpkg architecture: s390x 173s autopkgtest [18:30:12]: testbed apt version: 3.1.6ubuntu2 173s autopkgtest [18:30:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 173s autopkgtest [18:30:12]: testbed release detected to be: resolute 174s autopkgtest [18:30:13]: updating testbed package index (apt update) 174s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 175s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 175s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 175s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 175s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 175s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 175s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 175s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 175s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 175s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 175s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 175s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 175s Fetched 1023 kB in 1s (949 kB/s) 176s Reading package lists... 177s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 177s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 177s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 177s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 177s Reading package lists... 178s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Calculating upgrade... 178s The following packages will be upgraded: 178s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 178s libpython3-stdlib lto-disabled-list python3 python3-minimal 178s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 178s Need to get 2763 kB of archives. 178s After this operation, 14.3 kB of additional disk space will be used. 178s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 178s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 178s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 178s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 179s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 179s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 179s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 179s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 179s dpkg-preconfigure: unable to re-open stdin: No such file or directory 179s Fetched 2763 kB in 1s (3069 kB/s) 179s (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 ... 56852 files and directories currently installed.) 179s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 179s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 179s Setting up python3-minimal (3.13.7-2) ... 179s (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 ... 56852 files and directories currently installed.) 179s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 179s running python pre-rtupdate hooks for python3.13... 179s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 179s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 179s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 179s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 179s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 179s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 179s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 179s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 180s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 180s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 180s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 180s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 180s Unpacking lto-disabled-list (71) over (69) ... 180s Setting up lto-disabled-list (71) ... 180s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 180s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 180s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 180s Setting up apt (3.1.8ubuntu1) ... 180s Setting up python3 (3.13.7-2) ... 180s running python rtupdate hooks for python3.13... 180s running python post-rtupdate hooks for python3.13... 180s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 180s Processing triggers for man-db (2.13.1-1) ... 181s Processing triggers for libc-bin (2.42-0ubuntu3) ... 182s autopkgtest [18:30:21]: upgrading testbed (apt dist-upgrade and autopurge) 183s Reading package lists... 183s Building dependency tree... 183s Reading state information... 183s Calculating upgrade... 183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Reading package lists... 183s Building dependency tree... 183s Reading state information... 183s Solving dependencies... 183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 184s autopkgtest [18:30:23]: rebooting testbed after setup commands that affected boot 199s Reading package lists... 199s Building dependency tree... 199s Reading state information... 199s Solving dependencies... 200s The following NEW packages will be installed: 200s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 200s native-architecture 200s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 200s Need to get 1059 kB of archives. 200s After this operation, 12.6 MB of additional disk space will be used. 200s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.0-2 [865 kB] 200s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6 [2140 B] 200s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-2.0-0 s390x 2.86.0-2 [76.6 kB] 200s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.0-2 [115 kB] 201s Fetched 1059 kB in 1s (1322 kB/s) 201s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 201s (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 ... 56852 files and directories currently installed.) 201s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.0-2_s390x.deb ... 201s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 201s Selecting previously unselected package native-architecture. 201s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 201s Unpacking native-architecture (0.2.6) ... 201s Selecting previously unselected package libgirepository-2.0-0:s390x. 201s Preparing to unpack .../libgirepository-2.0-0_2.86.0-2_s390x.deb ... 201s Unpacking libgirepository-2.0-0:s390x (2.86.0-2) ... 201s Selecting previously unselected package girepository-tools:s390x. 201s Preparing to unpack .../girepository-tools_2.86.0-2_s390x.deb ... 201s Unpacking girepository-tools:s390x (2.86.0-2) ... 201s Setting up native-architecture (0.2.6) ... 201s Setting up libgirepository-2.0-0:s390x (2.86.0-2) ... 201s Setting up gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 201s Setting up girepository-tools:s390x (2.86.0-2) ... 201s Processing triggers for man-db (2.13.1-1) ... 201s Processing triggers for libc-bin (2.42-0ubuntu3) ... 206s autopkgtest [18:30:45]: test girepository-tools: [----------------------- 206s + cd /tmp/autopkgtest.8YAqaV/autopkgtest_tmp 206s + dpkg-architecture -qDEB_HOST_GNU_TYPE 206s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 206s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 206s + dpkg-architecture -qDEB_HOST_MULTIARCH 206s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 206s + DEB_HOST_MULTIARCH=s390x-linux-gnu 206s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 206s typelib: GLib-2.0 206s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 206s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 207s autopkgtest [18:30:46]: test girepository-tools: -----------------------] 207s autopkgtest [18:30:46]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 207s girepository-tools PASS (superficial) 207s autopkgtest [18:30:46]: test libgio-2.0-dev-bin: preparing testbed 230s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 276s autopkgtest [18:31:55]: testbed dpkg architecture: s390x 276s autopkgtest [18:31:55]: testbed apt version: 3.1.6ubuntu2 277s autopkgtest [18:31:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 277s autopkgtest [18:31:56]: testbed release detected to be: resolute 278s autopkgtest [18:31:57]: updating testbed package index (apt update) 278s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 278s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 278s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 278s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 278s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 278s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 278s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 279s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 279s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 279s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 279s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 279s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 279s Fetched 1023 kB in 1s (988 kB/s) 280s Reading package lists... 280s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 280s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 280s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 281s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 281s Reading package lists... 281s Reading package lists... 281s Building dependency tree... 281s Reading state information... 281s Calculating upgrade... 282s The following packages will be upgraded: 282s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 282s libpython3-stdlib lto-disabled-list python3 python3-minimal 282s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 282s Need to get 2763 kB of archives. 282s After this operation, 14.3 kB of additional disk space will be used. 282s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 282s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 282s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 282s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 282s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 283s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 283s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 283s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 283s dpkg-preconfigure: unable to re-open stdin: No such file or directory 283s Fetched 2763 kB in 1s (2274 kB/s) 283s (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 ... 56852 files and directories currently installed.) 283s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 283s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 283s Setting up python3-minimal (3.13.7-2) ... 283s (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 ... 56852 files and directories currently installed.) 283s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 283s running python pre-rtupdate hooks for python3.13... 283s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 283s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 283s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 283s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 283s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 284s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 284s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 284s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 284s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 284s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 284s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 284s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 284s Unpacking lto-disabled-list (71) over (69) ... 284s Setting up lto-disabled-list (71) ... 284s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 284s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 284s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 284s Setting up apt (3.1.8ubuntu1) ... 284s Setting up python3 (3.13.7-2) ... 284s running python rtupdate hooks for python3.13... 284s running python post-rtupdate hooks for python3.13... 284s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 284s Processing triggers for man-db (2.13.1-1) ... 286s Processing triggers for libc-bin (2.42-0ubuntu3) ... 286s autopkgtest [18:32:05]: upgrading testbed (apt dist-upgrade and autopurge) 287s Reading package lists... 287s Building dependency tree... 287s Reading state information... 287s Calculating upgrade... 287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 287s Reading package lists... 287s Building dependency tree... 287s Reading state information... 288s Solving dependencies... 288s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 288s autopkgtest [18:32:07]: rebooting testbed after setup commands that affected boot 303s Reading package lists... 304s Building dependency tree... 304s Reading state information... 304s Solving dependencies... 304s The following NEW packages will be installed: 304s libgio-2.0-dev-bin python3-packaging 304s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 304s Need to get 182 kB of archives. 304s After this operation, 958 kB of additional disk space will be used. 304s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x python3-packaging all 25.0-1 [52.8 kB] 304s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.0-2 [129 kB] 305s Fetched 182 kB in 1s (361 kB/s) 305s Selecting previously unselected package python3-packaging. 305s (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 ... 56852 files and directories currently installed.) 305s Preparing to unpack .../python3-packaging_25.0-1_all.deb ... 305s Unpacking python3-packaging (25.0-1) ... 305s Selecting previously unselected package libgio-2.0-dev-bin. 305s Preparing to unpack .../libgio-2.0-dev-bin_2.86.0-2_s390x.deb ... 305s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 305s Setting up python3-packaging (25.0-1) ... 305s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 305s Processing triggers for man-db (2.13.1-1) ... 311s autopkgtest [18:32:30]: test libgio-2.0-dev-bin: [----------------------- 311s + gdbus-codegen --help 311s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 311s [--c-namespace NAMESPACE] [--c-generate-object-manager] 311s [--c-generate-autocleanup {none,objects,all}] 311s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 311s [--generate-rst OUTFILES] [--pragma-once] 311s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 311s [--glib-min-required VERSION] 311s [--glib-max-allowed VERSION] 311s [--symbol-decorator SYMBOL_DECORATOR] 311s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 311s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 311s [--generate-c-code OUTFILES | --header | --body | 311s --interface-info-header | --interface-info-body] 311s [--output FILE | --output-directory OUTDIR] 311s FILE [FILE ...] 311s 311s D-Bus code and documentation generator 311s 311s positional arguments: 311s FILE D-Bus introspection XML file 311s 311s options: 311s -h, --help show this help message and exit 311s --interface-prefix PREFIX 311s String to strip from D-Bus interface names for code 311s and docs 311s --c-namespace NAMESPACE 311s The namespace to use for generated C code 311s --c-generate-object-manager 311s Generate a GDBusObjectManagerClient subclass when 311s generating C code 311s --c-generate-autocleanup {none,objects,all} 311s Generate autocleanup support 311s --generate-docbook OUTFILES 311s Generate Docbook in OUTFILES-org.Project.IFace.xml 311s --generate-md OUTFILES 311s Generate Markdown in OUTFILES-org.Project.IFace.md 311s --generate-rst OUTFILES 311s Generate reStructuredText in OUTFILES- 311s org.Project.IFace.rst 311s --pragma-once Use "pragma once" as the inclusion guard 311s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 311s Add annotation (may be used several times) 311s --glib-min-required VERSION 311s Minimum version of GLib to be supported by the 311s outputted code (default: 2.30) 311s --glib-max-allowed VERSION 311s Maximum version of GLib to be used by the outputted 311s code (default: current GLib version) 311s --symbol-decorator SYMBOL_DECORATOR 311s Macro used to decorate a symbol in the outputted 311s header, possibly to export symbols 311s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 311s Additional header required for decorator specified by 311s --symbol-decorator 311s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 311s Additional define required for decorator specified by 311s --symbol-decorator 311s --generate-c-code OUTFILES 311s Generate C code in OUTFILES.[ch] 311s --header Generate C headers 311s --body Generate C code 311s --interface-info-header 311s Generate GDBusInterfaceInfo C header 311s --interface-info-body 311s Generate GDBusInterfaceInfo C code 311s --output FILE Write output into the specified file 311s --output-directory OUTDIR 311s Location to output generated files 311s + glib-compile-resources --version 311s + glib-genmarshal --version 311s 2.86.0 311s glib-genmarshal version 2.86.0 311s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 311s You may redistribute copies of glib-genmarshal under the terms of 311s the GNU General Public License which can be found in the 311s GLib source package. Sources, examples and contact 311s information are available at http://www.gtk.org 311s + glib-gettextize --version 311s + glib-mkenums --version 311s /usr/bin/glib-gettextize (GNU glib) 2.86.0 311s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 311s This is free software; see the source for copying conditions. There is NO 311s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 311s Written by Ulrich Drepper 311s glib-mkenums version 2.86.0 311s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 311s You may redistribute copies of glib-mkenums under the terms of 311s the GNU General Public License which can be found in the 311s GLib source package. Sources, examples and contact 311s information are available at http://www.gtk.org 311s GObject 311s gtester version 2.86.0 311s + gobject-query tree 311s + gtester --version 311s + gtester-report --version 311s gtester-report (GLib utils) version 2.86.0. 311s autopkgtest [18:32:30]: test libgio-2.0-dev-bin: -----------------------] 312s autopkgtest [18:32:31]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 312s libgio-2.0-dev-bin PASS (superficial) 312s autopkgtest [18:32:31]: test libglib2.0-dev: preparing testbed 335s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 386s autopkgtest [18:33:45]: testbed dpkg architecture: s390x 386s autopkgtest [18:33:45]: testbed apt version: 3.1.6ubuntu2 387s autopkgtest [18:33:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 387s autopkgtest [18:33:46]: testbed release detected to be: resolute 387s autopkgtest [18:33:46]: updating testbed package index (apt update) 388s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 388s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 388s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 388s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 388s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 389s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 389s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 389s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 389s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 389s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 389s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 389s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 389s Fetched 1023 kB in 1s (1079 kB/s) 389s Reading package lists... 390s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 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 391s Reading package lists... 391s Reading package lists... 391s Building dependency tree... 391s Reading state information... 391s Calculating upgrade... 391s The following packages will be upgraded: 391s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 391s libpython3-stdlib lto-disabled-list python3 python3-minimal 391s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 391s Need to get 2763 kB of archives. 391s After this operation, 14.3 kB of additional disk space will be used. 391s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 392s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 392s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 392s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 392s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 393s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 393s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 393s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 393s dpkg-preconfigure: unable to re-open stdin: No such file or directory 393s Fetched 2763 kB in 2s (1736 kB/s) 393s (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 ... 56852 files and directories currently installed.) 393s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 393s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 393s Setting up python3-minimal (3.13.7-2) ... 393s (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 ... 56852 files and directories currently installed.) 393s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 393s running python pre-rtupdate hooks for python3.13... 393s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 393s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 393s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 393s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 393s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 393s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 393s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 394s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 394s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 394s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 394s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 394s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 394s Unpacking lto-disabled-list (71) over (69) ... 394s Setting up lto-disabled-list (71) ... 394s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 394s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 394s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 394s Setting up apt (3.1.8ubuntu1) ... 394s Setting up python3 (3.13.7-2) ... 394s running python rtupdate hooks for python3.13... 394s running python post-rtupdate hooks for python3.13... 394s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 394s Processing triggers for man-db (2.13.1-1) ... 395s Processing triggers for libc-bin (2.42-0ubuntu3) ... 396s autopkgtest [18:33:55]: 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. 397s autopkgtest [18:33:56]: rebooting testbed after setup commands that affected boot 414s Reading package lists... 414s Building dependency tree... 414s Reading state information... 414s Solving dependencies... 414s The following NEW packages will be installed: 414s build-essential cpp cpp-15 cpp-15-s390x-linux-gnu cpp-s390x-linux-gnu g++ 414s g++-15 g++-15-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-15 414s gcc-15-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev 414s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-15-dev 414s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 414s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev 414s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 414s libselinux1-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev 414s libubsan1 native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 414s zlib1g-dev 415s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 415s Need to get 57.8 MB of archives. 415s After this operation, 200 MB of additional disk space will be used. 415s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libisl23 s390x 0.27-1 [704 kB] 415s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libmpc3 s390x 1.3.1-1build3 [57.6 kB] 415s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [10.2 MB] 417s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-15 s390x 15.2.0-5ubuntu1 [1024 B] 417s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x cpp-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [5746 B] 417s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x cpp s390x 4:15.2.0-4ubuntu1 [22.4 kB] 417s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x libcc1-0 s390x 15.2.0-5ubuntu1 [50.0 kB] 417s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libgomp1 s390x 15.2.0-5ubuntu1 [154 kB] 417s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libitm1 s390x 15.2.0-5ubuntu1 [30.9 kB] 417s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libasan8 s390x 15.2.0-5ubuntu1 [2969 kB] 418s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libubsan1 s390x 15.2.0-5ubuntu1 [1211 kB] 418s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libgcc-15-dev s390x 15.2.0-5ubuntu1 [1045 kB] 418s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [19.9 MB] 419s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-15 s390x 15.2.0-5ubuntu1 [512 kB] 419s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x gcc-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [1208 B] 419s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x gcc s390x 4:15.2.0-4ubuntu1 [5018 B] 419s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libstdc++-15-dev s390x 15.2.0-5ubuntu1 [2658 kB] 419s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15-s390x-linux-gnu s390x 15.2.0-5ubuntu1 [11.7 MB] 419s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x g++-15 s390x 15.2.0-5ubuntu1 [23.7 kB] 419s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x g++-s390x-linux-gnu s390x 4:15.2.0-4ubuntu1 [956 B] 419s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x g++ s390x 4:15.2.0-4ubuntu1 [1078 B] 419s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x build-essential s390x 12.12ubuntu1 [5090 B] 419s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.0-2 [865 kB] 419s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6 [2140 B] 419s Get:25 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-2.0-0 s390x 2.86.0-2 [76.6 kB] 419s Get:26 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.0-2 [115 kB] 419s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x libffi-dev s390x 3.5.2-1build1 [60.4 kB] 419s Get:28 http://ftpmaster.internal/ubuntu resolute/main s390x uuid-dev s390x 2.41-4ubuntu4 [55.6 kB] 419s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libblkid-dev s390x 2.41-4ubuntu4 [236 kB] 419s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x libsepol-dev s390x 3.8.1-1 [415 kB] 419s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-16-0 s390x 10.46-1 [260 kB] 420s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-32-0 s390x 10.46-1 [245 kB] 420s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-posix3 s390x 10.46-1 [7226 B] 420s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x libpcre2-dev s390x 10.46-1 [900 kB] 420s Get:35 http://ftpmaster.internal/ubuntu resolute/main s390x libselinux1-dev s390x 3.8.1-1build1 [178 kB] 420s Get:36 http://ftpmaster.internal/ubuntu resolute/main s390x libmount-dev s390x 2.41-4ubuntu4 [36.2 kB] 420s Get:37 http://ftpmaster.internal/ubuntu resolute/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB] 420s Get:38 http://ftpmaster.internal/ubuntu resolute/main s390x libpkgconf3 s390x 1.8.1-4build1 [31.3 kB] 420s Get:39 http://ftpmaster.internal/ubuntu resolute/main s390x pkgconf-bin s390x 1.8.1-4build1 [21.8 kB] 420s Get:40 http://ftpmaster.internal/ubuntu resolute/main s390x pkgconf s390x 1.8.1-4build1 [16.8 kB] 420s Get:41 http://ftpmaster.internal/ubuntu resolute/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu2 [897 kB] 420s Get:42 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev s390x 2.86.0-2 [1830 kB] 420s Get:43 http://ftpmaster.internal/ubuntu resolute/main s390x python3-packaging all 25.0-1 [52.8 kB] 420s Get:44 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.0-2 [129 kB] 420s Get:45 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-bin s390x 2.86.0-2 [100 kB] 420s Get:46 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev-bin s390x 2.86.0-2 [18.2 kB] 420s Get:47 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev s390x 2.86.0-2 [18.9 kB] 420s Fetched 57.8 MB in 5s (10.6 MB/s) 420s Selecting previously unselected package libisl23:s390x. 420s (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 ... 56852 files and directories currently installed.) 420s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 420s Unpacking libisl23:s390x (0.27-1) ... 420s Selecting previously unselected package libmpc3:s390x. 420s Preparing to unpack .../01-libmpc3_1.3.1-1build3_s390x.deb ... 420s Unpacking libmpc3:s390x (1.3.1-1build3) ... 420s Selecting previously unselected package cpp-15-s390x-linux-gnu. 420s Preparing to unpack .../02-cpp-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking cpp-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package cpp-15. 420s Preparing to unpack .../03-cpp-15_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking cpp-15 (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package cpp-s390x-linux-gnu. 420s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 420s Unpacking cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 420s Selecting previously unselected package cpp. 420s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_s390x.deb ... 420s Unpacking cpp (4:15.2.0-4ubuntu1) ... 420s Selecting previously unselected package libcc1-0:s390x. 420s Preparing to unpack .../06-libcc1-0_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking libcc1-0:s390x (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package libgomp1:s390x. 420s Preparing to unpack .../07-libgomp1_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking libgomp1:s390x (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package libitm1:s390x. 420s Preparing to unpack .../08-libitm1_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking libitm1:s390x (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package libasan8:s390x. 420s Preparing to unpack .../09-libasan8_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking libasan8:s390x (15.2.0-5ubuntu1) ... 420s Selecting previously unselected package libubsan1:s390x. 420s Preparing to unpack .../10-libubsan1_15.2.0-5ubuntu1_s390x.deb ... 420s Unpacking libubsan1:s390x (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package libgcc-15-dev:s390x. 421s Preparing to unpack .../11-libgcc-15-dev_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking libgcc-15-dev:s390x (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package gcc-15-s390x-linux-gnu. 421s Preparing to unpack .../12-gcc-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking gcc-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package gcc-15. 421s Preparing to unpack .../13-gcc-15_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking gcc-15 (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package gcc-s390x-linux-gnu. 421s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 421s Unpacking gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 421s Selecting previously unselected package gcc. 421s Preparing to unpack .../15-gcc_4%3a15.2.0-4ubuntu1_s390x.deb ... 421s Unpacking gcc (4:15.2.0-4ubuntu1) ... 421s Selecting previously unselected package libstdc++-15-dev:s390x. 421s Preparing to unpack .../16-libstdc++-15-dev_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking libstdc++-15-dev:s390x (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package g++-15-s390x-linux-gnu. 421s Preparing to unpack .../17-g++-15-s390x-linux-gnu_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking g++-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package g++-15. 421s Preparing to unpack .../18-g++-15_15.2.0-5ubuntu1_s390x.deb ... 421s Unpacking g++-15 (15.2.0-5ubuntu1) ... 421s Selecting previously unselected package g++-s390x-linux-gnu. 421s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a15.2.0-4ubuntu1_s390x.deb ... 421s Unpacking g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 421s Selecting previously unselected package g++. 421s Preparing to unpack .../20-g++_4%3a15.2.0-4ubuntu1_s390x.deb ... 421s Unpacking g++ (4:15.2.0-4ubuntu1) ... 421s Selecting previously unselected package build-essential. 421s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ... 421s Unpacking build-essential (12.12ubuntu1) ... 421s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 421s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.86.0-2_s390x.deb ... 421s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 421s Selecting previously unselected package native-architecture. 421s Preparing to unpack .../23-native-architecture_0.2.6_all.deb ... 421s Unpacking native-architecture (0.2.6) ... 421s Selecting previously unselected package libgirepository-2.0-0:s390x. 421s Preparing to unpack .../24-libgirepository-2.0-0_2.86.0-2_s390x.deb ... 421s Unpacking libgirepository-2.0-0:s390x (2.86.0-2) ... 421s Selecting previously unselected package girepository-tools:s390x. 421s Preparing to unpack .../25-girepository-tools_2.86.0-2_s390x.deb ... 421s Unpacking girepository-tools:s390x (2.86.0-2) ... 421s Selecting previously unselected package libffi-dev:s390x. 421s Preparing to unpack .../26-libffi-dev_3.5.2-1build1_s390x.deb ... 421s Unpacking libffi-dev:s390x (3.5.2-1build1) ... 421s Selecting previously unselected package uuid-dev:s390x. 421s Preparing to unpack .../27-uuid-dev_2.41-4ubuntu4_s390x.deb ... 421s Unpacking uuid-dev:s390x (2.41-4ubuntu4) ... 421s Selecting previously unselected package libblkid-dev:s390x. 421s Preparing to unpack .../28-libblkid-dev_2.41-4ubuntu4_s390x.deb ... 421s Unpacking libblkid-dev:s390x (2.41-4ubuntu4) ... 421s Selecting previously unselected package libsepol-dev:s390x. 421s Preparing to unpack .../29-libsepol-dev_3.8.1-1_s390x.deb ... 421s Unpacking libsepol-dev:s390x (3.8.1-1) ... 421s Selecting previously unselected package libpcre2-16-0:s390x. 421s Preparing to unpack .../30-libpcre2-16-0_10.46-1_s390x.deb ... 421s Unpacking libpcre2-16-0:s390x (10.46-1) ... 421s Selecting previously unselected package libpcre2-32-0:s390x. 421s Preparing to unpack .../31-libpcre2-32-0_10.46-1_s390x.deb ... 421s Unpacking libpcre2-32-0:s390x (10.46-1) ... 421s Selecting previously unselected package libpcre2-posix3:s390x. 421s Preparing to unpack .../32-libpcre2-posix3_10.46-1_s390x.deb ... 421s Unpacking libpcre2-posix3:s390x (10.46-1) ... 421s Selecting previously unselected package libpcre2-dev:s390x. 421s Preparing to unpack .../33-libpcre2-dev_10.46-1_s390x.deb ... 421s Unpacking libpcre2-dev:s390x (10.46-1) ... 421s Selecting previously unselected package libselinux1-dev:s390x. 421s Preparing to unpack .../34-libselinux1-dev_3.8.1-1build1_s390x.deb ... 421s Unpacking libselinux1-dev:s390x (3.8.1-1build1) ... 421s Selecting previously unselected package libmount-dev:s390x. 421s Preparing to unpack .../35-libmount-dev_2.41-4ubuntu4_s390x.deb ... 421s Unpacking libmount-dev:s390x (2.41-4ubuntu4) ... 421s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 421s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_s390x.deb ... 421s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ... 421s Selecting previously unselected package libpkgconf3:s390x. 421s Preparing to unpack .../37-libpkgconf3_1.8.1-4build1_s390x.deb ... 421s Unpacking libpkgconf3:s390x (1.8.1-4build1) ... 421s Selecting previously unselected package pkgconf-bin. 421s Preparing to unpack .../38-pkgconf-bin_1.8.1-4build1_s390x.deb ... 421s Unpacking pkgconf-bin (1.8.1-4build1) ... 421s Selecting previously unselected package pkgconf:s390x. 421s Preparing to unpack .../39-pkgconf_1.8.1-4build1_s390x.deb ... 421s Unpacking pkgconf:s390x (1.8.1-4build1) ... 421s Selecting previously unselected package zlib1g-dev:s390x. 421s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_s390x.deb ... 421s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 421s Selecting previously unselected package libgio-2.0-dev:s390x. 421s Preparing to unpack .../41-libgio-2.0-dev_2.86.0-2_s390x.deb ... 421s Unpacking libgio-2.0-dev:s390x (2.86.0-2) ... 421s Selecting previously unselected package python3-packaging. 421s Preparing to unpack .../42-python3-packaging_25.0-1_all.deb ... 421s Unpacking python3-packaging (25.0-1) ... 421s Selecting previously unselected package libgio-2.0-dev-bin. 421s Preparing to unpack .../43-libgio-2.0-dev-bin_2.86.0-2_s390x.deb ... 421s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 421s Selecting previously unselected package libglib2.0-bin. 421s Preparing to unpack .../44-libglib2.0-bin_2.86.0-2_s390x.deb ... 421s Unpacking libglib2.0-bin (2.86.0-2) ... 421s Selecting previously unselected package libglib2.0-dev-bin. 421s Preparing to unpack .../45-libglib2.0-dev-bin_2.86.0-2_s390x.deb ... 421s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 421s Selecting previously unselected package libglib2.0-dev:s390x. 421s Preparing to unpack .../46-libglib2.0-dev_2.86.0-2_s390x.deb ... 421s Unpacking libglib2.0-dev:s390x (2.86.0-2) ... 421s Setting up native-architecture (0.2.6) ... 421s Setting up libgirepository-2.0-0:s390x (2.86.0-2) ... 421s Setting up libglib2.0-bin (2.86.0-2) ... 421s Setting up libgomp1:s390x (15.2.0-5ubuntu1) ... 421s Setting up libffi-dev:s390x (3.5.2-1build1) ... 421s Setting up libpcre2-16-0:s390x (10.46-1) ... 421s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ... 421s Setting up libpcre2-32-0:s390x (10.46-1) ... 421s Setting up python3-packaging (25.0-1) ... 422s Setting up libpkgconf3:s390x (1.8.1-4build1) ... 422s Setting up uuid-dev:s390x (2.41-4ubuntu4) ... 422s Setting up libmpc3:s390x (1.3.1-1build3) ... 422s Setting up libsepol-dev:s390x (3.8.1-1) ... 422s Setting up pkgconf-bin (1.8.1-4build1) ... 422s Setting up libubsan1:s390x (15.2.0-5ubuntu1) ... 422s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 422s Setting up libpcre2-posix3:s390x (10.46-1) ... 422s Setting up gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 422s Setting up libasan8:s390x (15.2.0-5ubuntu1) ... 422s Setting up libisl23:s390x (0.27-1) ... 422s Setting up libcc1-0:s390x (15.2.0-5ubuntu1) ... 422s Setting up libitm1:s390x (15.2.0-5ubuntu1) ... 422s Setting up libblkid-dev:s390x (2.41-4ubuntu4) ... 422s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 422s Setting up girepository-tools:s390x (2.86.0-2) ... 422s Setting up libgcc-15-dev:s390x (15.2.0-5ubuntu1) ... 422s Setting up libpcre2-dev:s390x (10.46-1) ... 422s Setting up libselinux1-dev:s390x (3.8.1-1build1) ... 422s Setting up pkgconf:s390x (1.8.1-4build1) ... 422s Setting up libstdc++-15-dev:s390x (15.2.0-5ubuntu1) ... 422s Setting up cpp-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 422s Setting up libmount-dev:s390x (2.41-4ubuntu4) ... 422s Setting up gcc-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 422s Setting up g++-15-s390x-linux-gnu (15.2.0-5ubuntu1) ... 422s Setting up libglib2.0-dev-bin (2.86.0-2) ... 422s Setting up libgio-2.0-dev:s390x (2.86.0-2) ... 422s Setting up cpp-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 422s Setting up gcc-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 422s Setting up cpp-15 (15.2.0-5ubuntu1) ... 422s Setting up cpp (4:15.2.0-4ubuntu1) ... 422s Setting up g++-s390x-linux-gnu (4:15.2.0-4ubuntu1) ... 422s Setting up gcc-15 (15.2.0-5ubuntu1) ... 422s Setting up g++-15 (15.2.0-5ubuntu1) ... 422s Setting up gcc (4:15.2.0-4ubuntu1) ... 422s Setting up g++ (4:15.2.0-4ubuntu1) ... 422s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 422s Setting up build-essential (12.12ubuntu1) ... 422s Processing triggers for install-info (7.1.1-1ubuntu1) ... 422s Processing triggers for libc-bin (2.42-0ubuntu3) ... 422s Processing triggers for man-db (2.13.1-1) ... 423s Processing triggers for libglib2.0-0t64:s390x (2.86.0-2) ... 423s No schema files found: doing nothing. 423s Setting up libglib2.0-dev:s390x (2.86.0-2) ... 427s autopkgtest [18:34:26]: test libglib2.0-dev: [----------------------- 428s + debian/tests/build 428s + mode=dynamic 428s + getopt -o --long static -n debian/tests/build -- 428s + getopt_temp= -- 428s + eval set -- -- 428s + set -- -- 428s + true 428s + shift 428s + break 428s + mktemp -d 428s + WORKDIR=/tmp/tmp.o1BF5WTUHi 428s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 428s + cd /tmp/tmp.o1BF5WTUHi 428s + [ -n ] 428s + CROSS_COMPILE= 428s + cat 428s + cat 428s + cat 428s + cat 428s + cat 428s + cat 428s + cflags= 428s + pcflags= 428s + packages=glib-2.0 428s + pkg-config --cflags --libs glib-2.0 428s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 428s build (glib, dynamic): OK 428s + echo build (glib, dynamic): OK 428s + [ -x glib-dynamic ] 428s + foo=bar ./glib-dynamic 428s + echo run (glib, dynamic): OK 428s + cflags= 428s + pcflags= 428s + packages=gobject-2.0 428s + pkg-configrun (glib, dynamic): OK 428s --cflags --libs gobject-2.0 428s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 428s build (gobject, dynamic): OK 428s + echo build (gobject, dynamic): OK 428s + [ -x gobject-dynamic ] 428s + foo=bar ./gobject-dynamic 428s + echo run (gobject, dynamic): OK 428s + cflags= 428s + pcflags= 428s + packages=gio-2.0 428s + pkg-config --cflags --libs gio-2.0 428s run (gobject, dynamic): OK 428s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s build (gio, dynamic): OK 428s run (gio, dynamic): OK 428s + echo build (gio, dynamic): OK 428s + [ -x gio-dynamic ] 428s + foo=bar ./gio-dynamic 428s + echo run (gio, dynamic): OK 428s + cflags= 428s + pcflags= 428s + packages=gio-unix-2.0 428s + pkg-config --cflags --libs gio-unix-2.0 428s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s build (gio-unix, dynamic): OK 428s + echo build (gio-unix, dynamic): OK 428s + [ -x gio-unix-dynamic ] 428s + foo=bar ./gio-unix-dynamic 428s + echo run (gio-unix, dynamic): OK 428s + cflags= 428s + pcflags= 428s + packages=gmodule-2.0 428s + pkg-config --cflags --libs gmodule-2.0 428s run (gio-unix, dynamic): OK 428s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s build (gmodule, dynamic): OK 428s run (gmodule, dynamic): OK 428s + echo build (gmodule, dynamic): OK 428s + [ -x gmodule-dynamic ] 428s + foo=bar ./gmodule-dynamic 428s + echo run (gmodule, dynamic): OK 428s + cflags= 428s + pcflags= 428s + packages=gthread-2.0 428s + pkg-config --cflags --libs gthread-2.0 428s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 428s build (gthread, dynamic): OK 428s + echo build (gthread, dynamic): OK 428s + [ -x gthread-dynamic ] 428s + foo=bar ./gthread-dynamic 428s + echo run (gthread, dynamic): OK 428s + rm -rf /tmp/tmp.o1BF5WTUHi 428s run (gthread, dynamic): OK 428s + debian/tests/build-static 428s + mode=dynamic 428s + getopt -o --long static -n debian/tests/build -- --static 428s + getopt_temp= --static -- 428s + eval set -- --static -- 428s + set -- --static -- 428s + true 428s + mode=static 428s + shift 428s + continue 428s + true 428s + shift 428s + break 428s + mktemp -d 428s + WORKDIR=/tmp/tmp.Pb6vhD9bxa 428s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 428s + cd /tmp/tmp.Pb6vhD9bxa 428s + [ -n ] 428s + CROSS_COMPILE= 428s + cat 428s + cat 428s + cat 428s + cat 428s + cat 428s + cat 428s + cflags= 428s + pcflags= 428s + packages=glib-2.0 428s + cflags=-static 428s + pcflags=--static 428s + pkg-config --static --cflags --libs glib-2.0 428s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 428s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 428s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s build (glib, static): OK 428s run (glib, static): OK 428s + echo build (glib, static): OK 428s + [ -x glib-static ] 428s + foo=bar ./glib-static 428s + echo run (glib, static): OK 428s + cflags= 428s + pcflags= 428s + packages=gobject-2.0 428s + cflags=-static 428s + pcflags=--static 428s + pkg-config --static --cflags --libs gobject-2.0 428s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 428s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s build (gobject, static): OK 428s + echo build (gobject, static): OK 428s + [ -x gobject-static ] 428s + foo=bar ./gobject-static 428s + echo run (gobject, static): OK 428s + cflags= 428s + pcflags= 428s + packages=gio-2.0 428s + cflags=-static 428s + pcflags=--static 428s + continue 428s + cflags= 428s + pcflags= 428s + packages=gio-unix-2.0 428s + cflags=-static 428s + pcflags=--static 428s + continue 428s + cflags= 428s + pcflags= 428s + packages=gmodule-2.0 428s + cflags=-static 428s + pcflags=--static 428s run (gobject, static): OK 428s + pkg-config --static --cflags --libs gmodule-2.0 428s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 428s (.text+0x66e): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 428s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s + echo build (gmodule, static): OK 428s build (gmodule, static): OK 428s + [ -x gmodule-static ] 428s + foo=bar ./gmodule-static 428s run (gmodule, static): OK 428s + echo run (gmodule, static): OK 428s + cflags= 428s + pcflags= 428s + packages=gthread-2.0 428s + cflags=-static 428s + pcflags=--static 428s + pkg-config --static --cflags --libs gthread-2.0 428s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 428s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/15/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 428s (.text+0xec): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s /usr/bin/ld: (.text+0x12a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 428s build (gthread, static): OK 428s + echo build (gthread, static): OK 428s + [ -x gthread-static ] 428s + foo=bar ./gthread-static 428s + echo run (gthread, static): OK 428s run (gthread, static): OK 428s + rm -rf /tmp/tmp.Pb6vhD9bxa 428s + debian/tests/girepository-tools 428s + cd /tmp/autopkgtest.8YAqaV/autopkgtest_tmp 428s + dpkg-architecture -qDEB_HOST_GNU_TYPE 428s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 428s + dpkg-architecture -qDEB_HOST_MULTIARCH 428s + DEB_HOST_MULTIARCH=s390x-linux-gnu 428s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 428s typelib: GLib-2.0 428s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 429s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 429s + debian/tests/libgio-2.0-dev-bin 429s + gdbus-codegen --help 429s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 429s [--c-namespace NAMESPACE] [--c-generate-object-manager] 429s [--c-generate-autocleanup {none,objects,all}] 429s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 429s [--generate-rst OUTFILES] [--pragma-once] 429s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 429s [--glib-min-required VERSION] 429s [--glib-max-allowed VERSION] 429s [--symbol-decorator SYMBOL_DECORATOR] 429s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 429s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 429s [--generate-c-code OUTFILES | --header | --body | 429s --interface-info-header | --interface-info-body] 429s [--output FILE | --output-directory OUTDIR] 429s FILE [FILE ...] 429s 429s D-Bus code and documentation generator 429s 429s positional arguments: 429s FILE D-Bus introspection XML file 429s 429s options: 429s -h, --help show this help message and exit 429s --interface-prefix PREFIX 429s String to strip from D-Bus interface names for code 429s and docs 429s --c-namespace NAMESPACE 429s The namespace to use for generated C code 429s --c-generate-object-manager 429s Generate a GDBusObjectManagerClient subclass when 429s generating C code 429s --c-generate-autocleanup {none,objects,all} 429s Generate autocleanup support 429s --generate-docbook OUTFILES 429s Generate Docbook in OUTFILES-org.Project.IFace.xml 429s --generate-md OUTFILES 429s Generate Markdown in OUTFILES-org.Project.IFace.md 429s --generate-rst OUTFILES 429s Generate reStructuredText in OUTFILES- 429s org.Project.IFace.rst 429s --pragma-once Use "pragma once" as the inclusion guard 429s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 429s Add annotation (may be used several times) 429s --glib-min-required VERSION 429s Minimum version of GLib to be supported by the 429s outputted code (default: 2.30) 429s --glib-max-allowed VERSION 429s Maximum version of GLib to be used by the outputted 429s code (default: current GLib version) 429s --symbol-decorator SYMBOL_DECORATOR 429s Macro used to decorate a symbol in the outputted 429s header, possibly to export symbols 429s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 429s Additional header required for decorator specified by 429s --symbol-decorator 429s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 429s Additional define required for decorator specified by 429s --symbol-decorator 429s --generate-c-code OUTFILES 429s Generate C code in OUTFILES.[ch] 429s --header Generate C headers 429s --body Generate C code 429s --interface-info-header 429s Generate GDBusInterfaceInfo C header 429s --interface-info-body 429s Generate GDBusInterfaceInfo C code 429s --output FILE Write output into the specified file 429s --output-directory OUTDIR 429s Location to output generated files 429s + glib-compile-resources --version 429s + glib-genmarshal --version 429s 2.86.0 429s glib-genmarshal version 2.86.0 429s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 429s You may redistribute copies of glib-genmarshal under the terms of 429s the GNU General Public License which can be found in the 429s GLib source package. Sources, examples and contact 429s information are available at http://www.gtk.org 429s + glib-gettextize --version 429s + glib-mkenums --version 429s /usr/bin/glib-gettextize (GNU glib) 2.86.0 429s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 429s This is free software; see the source for copying conditions. There is NO 429s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 429s Written by Ulrich Drepper 429s + gobject-query tree 429s glib-mkenums version 2.86.0 429s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 429s You may redistribute copies of glib-mkenums under the terms of 429s the GNU General Public License which can be found in the 429s GLib source package. Sources, examples and contact 429s information are available at http://www.gtk.org 429s GObject 429s + gtester --version 429s gtester version 2.86.0 429s + gtester-report --version 429s gtester-report (GLib utils) version 2.86.0. 429s + cd /tmp/autopkgtest.8YAqaV/autopkgtest_tmp 429s + dpkg-architecture -qDEB_HOST_MULTIARCH 429s + DEB_HOST_MULTIARCH=s390x-linux-gnu 429s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 429s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 429s typelib: GLib-2.0 429s + gi-decompile-typelib -o GLib.gir GLib.typelib 429s autopkgtest [18:34:28]: test libglib2.0-dev: -----------------------] 430s libglib2.0-dev PASS (superficial) 430s autopkgtest [18:34:29]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 430s autopkgtest [18:34:29]: test installed-tests: preparing testbed 440s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 490s autopkgtest [18:35:29]: testbed dpkg architecture: s390x 490s autopkgtest [18:35:29]: testbed apt version: 3.1.6ubuntu2 491s autopkgtest [18:35:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 491s autopkgtest [18:35:30]: testbed release detected to be: resolute 492s autopkgtest [18:35:31]: updating testbed package index (apt update) 492s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 492s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 492s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 492s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 492s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 492s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 493s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 493s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 493s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 493s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 493s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 493s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 493s Fetched 1023 kB in 1s (817 kB/s) 494s Reading package lists... 494s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 494s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 494s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 494s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 495s Reading package lists... 495s Reading package lists... 495s Building dependency tree... 495s Reading state information... 495s Calculating upgrade... 495s The following packages will be upgraded: 495s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 495s libpython3-stdlib lto-disabled-list python3 python3-minimal 496s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 496s Need to get 2763 kB of archives. 496s After this operation, 14.3 kB of additional disk space will be used. 496s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 496s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 496s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 496s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 496s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 497s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 497s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 497s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 497s dpkg-preconfigure: unable to re-open stdin: No such file or directory 497s Fetched 2763 kB in 1s (2059 kB/s) 497s (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 ... 56852 files and directories currently installed.) 497s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 497s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 497s Setting up python3-minimal (3.13.7-2) ... 497s (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 ... 56852 files and directories currently installed.) 497s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 497s running python pre-rtupdate hooks for python3.13... 497s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 497s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 497s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 497s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 497s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 497s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 497s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 497s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 497s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 497s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 497s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 497s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 498s Unpacking lto-disabled-list (71) over (69) ... 498s Setting up lto-disabled-list (71) ... 498s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 498s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 498s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 498s Setting up apt (3.1.8ubuntu1) ... 498s Setting up python3 (3.13.7-2) ... 498s running python rtupdate hooks for python3.13... 498s running python post-rtupdate hooks for python3.13... 498s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 498s Processing triggers for man-db (2.13.1-1) ... 499s Processing triggers for libc-bin (2.42-0ubuntu3) ... 499s autopkgtest [18:35:38]: upgrading testbed (apt dist-upgrade and autopurge) 500s Reading package lists... 500s Building dependency tree... 500s Reading state information... 500s Calculating upgrade... 500s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 501s Reading package lists... 501s Building dependency tree... 501s Reading state information... 501s Solving dependencies... 501s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 501s autopkgtest [18:35:40]: rebooting testbed after setup commands that affected boot 517s Reading package lists... 517s Building dependency tree... 517s Reading state information... 517s Solving dependencies... 517s The following NEW packages will be installed: 517s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 517s gnome-desktop-testing libdrm-amdgpu1 libfontenc1 libfreetype6 libgbm1 517s libgio-2.0-dev-bin libgirepository-2.0-0 libgl1 libgl1-mesa-dri 517s libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 517s libglx0 libice6 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 517s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 517s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 517s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 518s native-architecture python3-dbusmock python3-packaging tzdata-legacy 518s x11-common x11-xkb-utils xserver-common xvfb 518s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 518s Need to get 15.6 MB of archives. 518s After this operation, 74.5 MB of additional disk space will be used. 518s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x dbus-x11 s390x 1.16.2-2ubuntu2 [23.9 kB] 518s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB] 518s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-glib-2.0-dev s390x 2.86.0-2 [865 kB] 518s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x native-architecture all 0.2.6 [2140 B] 518s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-2.0-0 s390x 2.86.0-2 [76.6 kB] 518s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x girepository-tools s390x 2.86.0-2 [115 kB] 518s Get:7 http://ftpmaster.internal/ubuntu resolute/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB] 518s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libdrm-amdgpu1 s390x 2.4.125-1 [21.8 kB] 518s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB] 518s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libfreetype6 s390x 2.13.3+dfsg-1build1 [430 kB] 519s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libx11-xcb1 s390x 2:1.8.12-1build1 [7972 B] 519s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-dri3-0 s390x 1.17.0-2build1 [7688 B] 519s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-present0 s390x 1.17.0-2build1 [6346 B] 519s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-randr0 s390x 1.17.0-2build1 [19.0 kB] 519s Get:15 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-sync1 s390x 1.17.0-2build1 [9530 B] 519s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-xfixes0 s390x 1.17.0-2build1 [10.6 kB] 519s Get:17 http://ftpmaster.internal/ubuntu resolute/main s390x libxshmfence1 s390x 1.3.3-1 [5202 B] 519s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x mesa-libgallium s390x 25.2.3-1ubuntu1 [8319 kB] 520s Get:19 http://ftpmaster.internal/ubuntu resolute/main s390x libgbm1 s390x 25.2.3-1ubuntu1 [34.7 kB] 520s Get:20 http://ftpmaster.internal/ubuntu resolute/main s390x python3-packaging all 25.0-1 [52.8 kB] 520s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x libgio-2.0-dev-bin s390x 2.86.0-2 [129 kB] 520s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x libvulkan1 s390x 1.4.321.0-1 [147 kB] 520s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x libgl1-mesa-dri s390x 25.2.3-1ubuntu1 [36.0 kB] 520s Get:24 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-bin s390x 2.86.0-2 [100 kB] 520s Get:25 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-dev-bin s390x 2.86.0-2 [18.2 kB] 520s Get:26 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-dbusmock all 0.37.1-1 [90.7 kB] 520s Get:27 http://ftpmaster.internal/ubuntu resolute/main s390x tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 520s Get:28 http://ftpmaster.internal/ubuntu resolute/universe s390x libglib2.0-tests s390x 2.86.0-2 [2322 kB] 521s Get:29 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-glx0 s390x 1.17.0-2build1 [25.6 kB] 521s Get:30 http://ftpmaster.internal/ubuntu resolute/main s390x libxcb-shm0 s390x 1.17.0-2build1 [5916 B] 521s Get:31 http://ftpmaster.internal/ubuntu resolute/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B] 521s Get:32 http://ftpmaster.internal/ubuntu resolute/main s390x libglx-mesa0 s390x 25.2.3-1ubuntu1 [114 kB] 521s Get:33 http://ftpmaster.internal/ubuntu resolute/main s390x x11-common all 1:7.7+24ubuntu1 [22.4 kB] 521s Get:34 http://ftpmaster.internal/ubuntu resolute/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 521s Get:35 http://ftpmaster.internal/ubuntu resolute/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 521s Get:36 http://ftpmaster.internal/ubuntu resolute/main s390x libsm6 s390x 2:1.2.6-1 [18.3 kB] 521s Get:37 http://ftpmaster.internal/ubuntu resolute/main s390x libxt6t64 s390x 1:1.2.1-1.3 [180 kB] 521s Get:38 http://ftpmaster.internal/ubuntu resolute/main s390x libxmu6 s390x 2:1.1.3-3build3 [51.8 kB] 521s Get:39 http://ftpmaster.internal/ubuntu resolute/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 521s Get:40 http://ftpmaster.internal/ubuntu resolute/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 521s Get:41 http://ftpmaster.internal/ubuntu resolute/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB] 521s Get:42 http://ftpmaster.internal/ubuntu resolute/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB] 521s Get:43 http://ftpmaster.internal/ubuntu resolute/main s390x libxrender1 s390x 1:0.9.12-1 [20.9 kB] 521s Get:44 http://ftpmaster.internal/ubuntu resolute/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB] 521s Get:45 http://ftpmaster.internal/ubuntu resolute/main s390x x11-xkb-utils s390x 7.7+9 [169 kB] 521s Get:46 http://ftpmaster.internal/ubuntu resolute/main s390x xserver-common all 2:21.1.18-1ubuntu1 [34.6 kB] 521s Get:47 http://ftpmaster.internal/ubuntu resolute/main s390x libglvnd0 s390x 1.7.0-1build2 [107 kB] 521s Get:48 http://ftpmaster.internal/ubuntu resolute/main s390x libglx0 s390x 1.7.0-1build2 [30.9 kB] 521s Get:49 http://ftpmaster.internal/ubuntu resolute/main s390x libgl1 s390x 1.7.0-1build2 [135 kB] 521s Get:50 http://ftpmaster.internal/ubuntu resolute/universe s390x xvfb s390x 2:21.1.18-1ubuntu1 [943 kB] 521s Fetched 15.6 MB in 3s (4545 kB/s) 521s Selecting previously unselected package dbus-x11. 521s (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 ... 56852 files and directories currently installed.) 521s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_s390x.deb ... 521s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 521s Selecting previously unselected package desktop-file-utils. 521s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ... 521s Unpacking desktop-file-utils (0.28-1) ... 521s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 521s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.0-2_s390x.deb ... 521s Unpacking gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 521s Selecting previously unselected package native-architecture. 521s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 521s Unpacking native-architecture (0.2.6) ... 521s Selecting previously unselected package libgirepository-2.0-0:s390x. 521s Preparing to unpack .../04-libgirepository-2.0-0_2.86.0-2_s390x.deb ... 521s Unpacking libgirepository-2.0-0:s390x (2.86.0-2) ... 521s Selecting previously unselected package girepository-tools:s390x. 521s Preparing to unpack .../05-girepository-tools_2.86.0-2_s390x.deb ... 521s Unpacking girepository-tools:s390x (2.86.0-2) ... 521s Selecting previously unselected package gnome-desktop-testing. 521s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_s390x.deb ... 521s Unpacking gnome-desktop-testing (2021.1-4) ... 521s Selecting previously unselected package libdrm-amdgpu1:s390x. 521s Preparing to unpack .../07-libdrm-amdgpu1_2.4.125-1_s390x.deb ... 521s Unpacking libdrm-amdgpu1:s390x (2.4.125-1) ... 521s Selecting previously unselected package libfontenc1:s390x. 521s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build1_s390x.deb ... 521s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ... 521s Selecting previously unselected package libfreetype6:s390x. 521s Preparing to unpack .../09-libfreetype6_2.13.3+dfsg-1build1_s390x.deb ... 521s Unpacking libfreetype6:s390x (2.13.3+dfsg-1build1) ... 521s Selecting previously unselected package libx11-xcb1:s390x. 521s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.12-1build1_s390x.deb ... 521s Unpacking libx11-xcb1:s390x (2:1.8.12-1build1) ... 521s Selecting previously unselected package libxcb-dri3-0:s390x. 521s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2build1_s390x.deb ... 521s Unpacking libxcb-dri3-0:s390x (1.17.0-2build1) ... 521s Selecting previously unselected package libxcb-present0:s390x. 521s Preparing to unpack .../12-libxcb-present0_1.17.0-2build1_s390x.deb ... 521s Unpacking libxcb-present0:s390x (1.17.0-2build1) ... 521s Selecting previously unselected package libxcb-randr0:s390x. 521s Preparing to unpack .../13-libxcb-randr0_1.17.0-2build1_s390x.deb ... 521s Unpacking libxcb-randr0:s390x (1.17.0-2build1) ... 521s Selecting previously unselected package libxcb-sync1:s390x. 521s Preparing to unpack .../14-libxcb-sync1_1.17.0-2build1_s390x.deb ... 521s Unpacking libxcb-sync1:s390x (1.17.0-2build1) ... 522s Selecting previously unselected package libxcb-xfixes0:s390x. 522s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2build1_s390x.deb ... 522s Unpacking libxcb-xfixes0:s390x (1.17.0-2build1) ... 522s Selecting previously unselected package libxshmfence1:s390x. 522s Preparing to unpack .../16-libxshmfence1_1.3.3-1_s390x.deb ... 522s Unpacking libxshmfence1:s390x (1.3.3-1) ... 522s Selecting previously unselected package mesa-libgallium:s390x. 522s Preparing to unpack .../17-mesa-libgallium_25.2.3-1ubuntu1_s390x.deb ... 522s Unpacking mesa-libgallium:s390x (25.2.3-1ubuntu1) ... 522s Selecting previously unselected package libgbm1:s390x. 522s Preparing to unpack .../18-libgbm1_25.2.3-1ubuntu1_s390x.deb ... 522s Unpacking libgbm1:s390x (25.2.3-1ubuntu1) ... 522s Selecting previously unselected package python3-packaging. 522s Preparing to unpack .../19-python3-packaging_25.0-1_all.deb ... 522s Unpacking python3-packaging (25.0-1) ... 522s Selecting previously unselected package libgio-2.0-dev-bin. 522s Preparing to unpack .../20-libgio-2.0-dev-bin_2.86.0-2_s390x.deb ... 522s Unpacking libgio-2.0-dev-bin (2.86.0-2) ... 522s Selecting previously unselected package libvulkan1:s390x. 522s Preparing to unpack .../21-libvulkan1_1.4.321.0-1_s390x.deb ... 522s Unpacking libvulkan1:s390x (1.4.321.0-1) ... 522s Selecting previously unselected package libgl1-mesa-dri:s390x. 522s Preparing to unpack .../22-libgl1-mesa-dri_25.2.3-1ubuntu1_s390x.deb ... 522s Unpacking libgl1-mesa-dri:s390x (25.2.3-1ubuntu1) ... 522s Selecting previously unselected package libglib2.0-bin. 522s Preparing to unpack .../23-libglib2.0-bin_2.86.0-2_s390x.deb ... 522s Unpacking libglib2.0-bin (2.86.0-2) ... 522s Selecting previously unselected package libglib2.0-dev-bin. 522s Preparing to unpack .../24-libglib2.0-dev-bin_2.86.0-2_s390x.deb ... 522s Unpacking libglib2.0-dev-bin (2.86.0-2) ... 522s Selecting previously unselected package python3-dbusmock. 522s Preparing to unpack .../25-python3-dbusmock_0.37.1-1_all.deb ... 522s Unpacking python3-dbusmock (0.37.1-1) ... 522s Selecting previously unselected package tzdata-legacy. 522s Preparing to unpack .../26-tzdata-legacy_2025b-3ubuntu1_all.deb ... 522s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 522s Selecting previously unselected package libglib2.0-tests. 522s Preparing to unpack .../27-libglib2.0-tests_2.86.0-2_s390x.deb ... 522s Unpacking libglib2.0-tests (2.86.0-2) ... 522s Selecting previously unselected package libxcb-glx0:s390x. 522s Preparing to unpack .../28-libxcb-glx0_1.17.0-2build1_s390x.deb ... 522s Unpacking libxcb-glx0:s390x (1.17.0-2build1) ... 522s Selecting previously unselected package libxcb-shm0:s390x. 522s Preparing to unpack .../29-libxcb-shm0_1.17.0-2build1_s390x.deb ... 522s Unpacking libxcb-shm0:s390x (1.17.0-2build1) ... 522s Selecting previously unselected package libxxf86vm1:s390x. 522s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ... 522s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ... 522s Selecting previously unselected package libglx-mesa0:s390x. 522s Preparing to unpack .../31-libglx-mesa0_25.2.3-1ubuntu1_s390x.deb ... 522s Unpacking libglx-mesa0:s390x (25.2.3-1ubuntu1) ... 522s Selecting previously unselected package x11-common. 522s Preparing to unpack .../32-x11-common_1%3a7.7+24ubuntu1_all.deb ... 522s Unpacking x11-common (1:7.7+24ubuntu1) ... 522s Selecting previously unselected package libice6:s390x. 522s Preparing to unpack .../33-libice6_2%3a1.1.1-1_s390x.deb ... 522s Unpacking libice6:s390x (2:1.1.1-1) ... 522s Selecting previously unselected package libpixman-1-0:s390x. 522s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_s390x.deb ... 522s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 522s Selecting previously unselected package libsm6:s390x. 522s Preparing to unpack .../35-libsm6_2%3a1.2.6-1_s390x.deb ... 522s Unpacking libsm6:s390x (2:1.2.6-1) ... 522s Selecting previously unselected package libxt6t64:s390x. 522s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.3_s390x.deb ... 522s Unpacking libxt6t64:s390x (1:1.2.1-1.3) ... 522s Selecting previously unselected package libxmu6:s390x. 522s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build3_s390x.deb ... 522s Unpacking libxmu6:s390x (2:1.1.3-3build3) ... 522s Selecting previously unselected package libxpm4:s390x. 522s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 522s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 522s Selecting previously unselected package libxaw7:s390x. 522s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_s390x.deb ... 522s Unpacking libxaw7:s390x (2:1.0.16-1) ... 522s Selecting previously unselected package libxfont2:s390x. 522s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_s390x.deb ... 522s Unpacking libxfont2:s390x (1:2.0.6-1build1) ... 522s Selecting previously unselected package libxkbfile1:s390x. 522s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ... 522s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ... 522s Selecting previously unselected package libxrender1:s390x. 522s Preparing to unpack .../42-libxrender1_1%3a0.9.12-1_s390x.deb ... 522s Unpacking libxrender1:s390x (1:0.9.12-1) ... 522s Selecting previously unselected package libxrandr2:s390x. 522s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_s390x.deb ... 522s Unpacking libxrandr2:s390x (2:1.5.4-1) ... 522s Selecting previously unselected package x11-xkb-utils. 522s Preparing to unpack .../44-x11-xkb-utils_7.7+9_s390x.deb ... 522s Unpacking x11-xkb-utils (7.7+9) ... 522s Selecting previously unselected package xserver-common. 522s Preparing to unpack .../45-xserver-common_2%3a21.1.18-1ubuntu1_all.deb ... 522s Unpacking xserver-common (2:21.1.18-1ubuntu1) ... 522s Selecting previously unselected package libglvnd0:s390x. 522s Preparing to unpack .../46-libglvnd0_1.7.0-1build2_s390x.deb ... 522s Unpacking libglvnd0:s390x (1.7.0-1build2) ... 522s Selecting previously unselected package libglx0:s390x. 522s Preparing to unpack .../47-libglx0_1.7.0-1build2_s390x.deb ... 522s Unpacking libglx0:s390x (1.7.0-1build2) ... 522s Selecting previously unselected package libgl1:s390x. 522s Preparing to unpack .../48-libgl1_1.7.0-1build2_s390x.deb ... 522s Unpacking libgl1:s390x (1.7.0-1build2) ... 522s Selecting previously unselected package xvfb. 522s Preparing to unpack .../49-xvfb_2%3a21.1.18-1ubuntu1_s390x.deb ... 522s Unpacking xvfb (2:21.1.18-1ubuntu1) ... 522s Setting up gnome-desktop-testing (2021.1-4) ... 522s Setting up libxcb-dri3-0:s390x (1.17.0-2build1) ... 522s Setting up libpixman-1-0:s390x (0.44.0-3) ... 522s Setting up libx11-xcb1:s390x (2:1.8.12-1build1) ... 522s Setting up native-architecture (0.2.6) ... 522s Setting up libxcb-xfixes0:s390x (1.17.0-2build1) ... 522s Setting up desktop-file-utils (0.28-1) ... 522s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 522s Setting up libxrender1:s390x (1:0.9.12-1) ... 522s Setting up libgirepository-2.0-0:s390x (2.86.0-2) ... 522s Setting up libglvnd0:s390x (1.7.0-1build2) ... 522s Setting up libxcb-glx0:s390x (1.17.0-2build1) ... 522s Setting up x11-common (1:7.7+24ubuntu1) ... 522s Setting up libglib2.0-bin (2.86.0-2) ... 522s Setting up libxcb-shm0:s390x (1.17.0-2build1) ... 522s Setting up python3-dbusmock (0.37.1-1) ... 523s Setting up tzdata-legacy (2025b-3ubuntu1) ... 523s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ... 523s Setting up libxcb-present0:s390x (1.17.0-2build1) ... 523s Setting up libfontenc1:s390x (1:1.1.8-1build1) ... 523s Setting up python3-packaging (25.0-1) ... 523s Setting up libfreetype6:s390x (2.13.3+dfsg-1build1) ... 523s Setting up libxcb-sync1:s390x (1.17.0-2build1) ... 523s Setting up libxrandr2:s390x (2:1.5.4-1) ... 523s Setting up libvulkan1:s390x (1.4.321.0-1) ... 523s Setting up gir1.2-glib-2.0-dev:s390x (2.86.0-2) ... 523s Setting up libxshmfence1:s390x (1.3.3-1) ... 523s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 523s Setting up libxcb-randr0:s390x (1.17.0-2build1) ... 523s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ... 523s Setting up libxfont2:s390x (1:2.0.6-1build1) ... 523s Setting up libdrm-amdgpu1:s390x (2.4.125-1) ... 523s Setting up libice6:s390x (2:1.1.1-1) ... 523s Setting up mesa-libgallium:s390x (25.2.3-1ubuntu1) ... 523s Setting up libgio-2.0-dev-bin (2.86.0-2) ... 523s Setting up girepository-tools:s390x (2.86.0-2) ... 523s Setting up libgbm1:s390x (25.2.3-1ubuntu1) ... 523s Setting up libgl1-mesa-dri:s390x (25.2.3-1ubuntu1) ... 523s Setting up libsm6:s390x (2:1.2.6-1) ... 523s Setting up libglib2.0-dev-bin (2.86.0-2) ... 523s Setting up libglx-mesa0:s390x (25.2.3-1ubuntu1) ... 523s Setting up libglx0:s390x (1.7.0-1build2) ... 523s Setting up libgl1:s390x (1.7.0-1build2) ... 523s Setting up libxt6t64:s390x (1:1.2.1-1.3) ... 523s Setting up libglib2.0-tests (2.86.0-2) ... 523s Setting up libxmu6:s390x (2:1.1.3-3build3) ... 523s Setting up libxaw7:s390x (2:1.0.16-1) ... 523s Setting up x11-xkb-utils (7.7+9) ... 523s Setting up xserver-common (2:21.1.18-1ubuntu1) ... 523s Setting up xvfb (2:21.1.18-1ubuntu1) ... 523s Processing triggers for man-db (2.13.1-1) ... 523s Processing triggers for libc-bin (2.42-0ubuntu3) ... 528s autopkgtest [18:36:07]: 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.8YAqaV/autopkgtest_tmp 528s ADT_ARTIFACTS=/tmp/autopkgtest.8YAqaV/installed-tests-artifacts 528s ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 528s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.8YAqaV/installed-tests-artifacts 528s AUTOPKGTEST_TESTBED_ARCH=s390x 528s AUTOPKGTEST_TEST_ARCH=s390x 528s AUTOPKGTEST_TMP=/tmp/autopkgtest.8YAqaV/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.8YAqaV/build.2gW/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.8YAqaV/wrapper.sh --artifacts=/tmp/autopkgtest.8YAqaV/installed-tests-artifacts --chdir=/tmp/autopkgtest.8YAqaV/build.2gW/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.8YAqaV/installed-tests-stderr --stdout=/tmp/autopkgtest.8YAqaV/installed-tests-stdout --tmp=/tmp/autopkgtest.8YAqaV/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.7-2 --make-executable=/tmp/autopkgtest.8YAqaV/build.2gW/src/debian/tests/installed-tests -- /tmp/autopkgtest.8YAqaV/build.2gW/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.8YAqaV/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.cQpANknsNH/de_DE 529s run-with-locales: de_DE.utf8... 529s Character set: UTF-8 529s Source file: de_DE 529s Output: /tmp/tmp.cQpANknsNH/de_DE.utf8 529s run-with-locales: de_DE@euro.utf8... 530s Character set: UTF-8 530s Source file: de_DE@euro 530s Output: /tmp/tmp.cQpANknsNH/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.cQpANknsNH/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.cQpANknsNH/en_GB 532s run-with-locales: en_GB.utf8... 532s Character set: UTF-8 532s Source file: en_GB 532s Output: /tmp/tmp.cQpANknsNH/en_GB.utf8 533s run-with-locales: en_US=ISO-8859-1... 533s Character set: ISO-8859-1 533s Source file: en_US 533s Output: /tmp/tmp.cQpANknsNH/en_US 533s run-with-locales: en_US.utf8... 533s Character set: UTF-8 533s Source file: en_US 533s Output: /tmp/tmp.cQpANknsNH/en_US.utf8 534s run-with-locales: es_ES.utf8... 534s Character set: UTF-8 534s Source file: es_ES 534s Output: /tmp/tmp.cQpANknsNH/es_ES.utf8 535s run-with-locales: fa_IR=UTF-8... 535s Character set: UTF-8 535s Source file: fa_IR 535s Output: /tmp/tmp.cQpANknsNH/fa_IR 536s run-with-locales: fa_IR.utf8... 536s Character set: UTF-8 536s Source file: fa_IR 536s Output: /tmp/tmp.cQpANknsNH/fa_IR.utf8 537s run-with-locales: fr_FR.utf8... 537s Character set: UTF-8 537s Source file: fr_FR 537s Output: /tmp/tmp.cQpANknsNH/fr_FR.utf8 538s run-with-locales: hr_HR.utf8... 538s Character set: UTF-8 538s Source file: hr_HR 538s Output: /tmp/tmp.cQpANknsNH/hr_HR.utf8 539s run-with-locales: ja_JP.utf8... 539s Character set: UTF-8 539s Source file: ja_JP 539s Output: /tmp/tmp.cQpANknsNH/ja_JP.utf8 540s run-with-locales: ja_JP.EUC-JP... 540s Character set: EUC-JP 540s Source file: ja_JP 540s Output: /tmp/tmp.cQpANknsNH/ja_JP.eucjp 540s run-with-locales: lt_LT.utf8... 540s Character set: UTF-8 540s Source file: lt_LT 540s Output: /tmp/tmp.cQpANknsNH/lt_LT.utf8 541s run-with-locales: pl_PL=ISO-8859-2... 541s Character set: ISO-8859-2 541s Source file: pl_PL 541s Output: /tmp/tmp.cQpANknsNH/pl_PL 541s run-with-locales: pl_PL.ISO-8859-2... 541s Character set: ISO-8859-2 541s Source file: pl_PL 541s Output: /tmp/tmp.cQpANknsNH/pl_PL.iso88592 542s run-with-locales: pl_PL.utf8... 542s Character set: UTF-8 542s Source file: pl_PL 542s Output: /tmp/tmp.cQpANknsNH/pl_PL.utf8 543s run-with-locales: ru_RU=ISO-8859-5... 543s Character set: ISO-8859-5 543s Source file: ru_RU 543s Output: /tmp/tmp.cQpANknsNH/ru_RU 543s run-with-locales: ru_RU.utf8... 543s Character set: UTF-8 543s Source file: ru_RU 543s Output: /tmp/tmp.cQpANknsNH/ru_RU.utf8 544s run-with-locales: sr_RS=UTF-8... 544s Character set: UTF-8 544s Source file: sr_RS 544s Output: /tmp/tmp.cQpANknsNH/sr_RS 545s run-with-locales: sr_RS@latin=UTF-8... 545s Character set: UTF-8 545s Source file: sr_RS@latin 545s Output: /tmp/tmp.cQpANknsNH/sr_RS@latin 546s run-with-locales: sv_SE=ISO-8859-1... 546s Character set: ISO-8859-1 546s Source file: sv_SE 546s Output: /tmp/tmp.cQpANknsNH/sv_SE 546s run-with-locales: sv_SE.utf8... 546s Character set: UTF-8 546s Source file: sv_SE 546s Output: /tmp/tmp.cQpANknsNH/sv_SE.utf8 547s run-with-locales: tr_TR=ISO-8859-9... 547s Character set: ISO-8859-9 547s Source file: tr_TR 547s Output: /tmp/tmp.cQpANknsNH/tr_TR 547s run-with-locales: tr_TR.utf8... 547s Character set: UTF-8 547s Source file: tr_TR 547s Output: /tmp/tmp.cQpANknsNH/tr_TR.utf8 548s run-with-locales: tt_RU=UTF-8... 548s Character set: UTF-8 548s Source file: tt_RU 548s Output: /tmp/tmp.cQpANknsNH/tt_RU 549s run-with-locales: tt_RU.utf8... 549s Character set: UTF-8 549s Source file: tt_RU 549s Output: /tmp/tmp.cQpANknsNH/tt_RU.utf8 550s run-with-locales: tt_RU@iqtelif=UTF-8... 550s Character set: UTF-8 550s Source file: tt_RU@iqtelif 550s Output: /tmp/tmp.cQpANknsNH/tt_RU@iqtelif 551s /tmp/tmp.cQpANknsNH 551s /tmp/tmp.cQpANknsNH/tr_TR 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_TIME 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_PAPER 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/tr_TR/LC_NAME 551s /tmp/tmp.cQpANknsNH/en_US.utf8 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/en_US.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/sv_SE.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/pl_PL 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_TIME 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_PAPER 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/pl_PL/LC_NAME 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/fa_IR.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_TIME 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_PAPER 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/tt_RU@iqtelif/LC_NAME 551s /tmp/tmp.cQpANknsNH/ru_RU 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_TIME 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_PAPER 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/ru_RU/LC_NAME 551s /tmp/tmp.cQpANknsNH/sr_RS@latin 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_TIME 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_PAPER 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/sr_RS@latin/LC_NAME 551s /tmp/tmp.cQpANknsNH/en_US 551s /tmp/tmp.cQpANknsNH/en_US/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/en_US/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/en_US/LC_TIME 551s /tmp/tmp.cQpANknsNH/en_US/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/en_US/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/en_US/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/en_US/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/en_US/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/en_US/LC_PAPER 551s /tmp/tmp.cQpANknsNH/en_US/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_US/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_US/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/en_US/LC_NAME 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/tr_TR.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/fr_FR.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/de_DE 551s /tmp/tmp.cQpANknsNH/de_DE/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/de_DE/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/de_DE/LC_TIME 551s /tmp/tmp.cQpANknsNH/de_DE/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/de_DE/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/de_DE/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/de_DE/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/de_DE/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/de_DE/LC_PAPER 551s /tmp/tmp.cQpANknsNH/de_DE/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/de_DE/LC_NAME 551s /tmp/tmp.cQpANknsNH/en_GB.utf8 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/en_GB.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/fa_IR 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_TIME 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_PAPER 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/fa_IR/LC_NAME 551s /tmp/tmp.cQpANknsNH/es_ES.utf8 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/es_ES.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/sr_RS 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_TIME 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_PAPER 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/sr_RS/LC_NAME 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/de_DE@euro.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_TIME 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_PAPER 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/pl_PL.iso88592/LC_NAME 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/hr_HR.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/en_GB 551s /tmp/tmp.cQpANknsNH/en_GB/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/en_GB/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/en_GB/LC_TIME 551s /tmp/tmp.cQpANknsNH/en_GB/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/en_GB/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/en_GB/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/en_GB/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/en_GB/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/en_GB/LC_PAPER 551s /tmp/tmp.cQpANknsNH/en_GB/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/en_GB/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/en_GB/LC_NAME 551s /tmp/tmp.cQpANknsNH/sv_SE 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_TIME 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_PAPER 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/sv_SE/LC_NAME 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/tt_RU.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/pl_PL.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/tt_RU 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_TIME 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_PAPER 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/tt_RU/LC_NAME 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_TIME 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_PAPER 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/ja_JP.eucjp/LC_NAME 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/lt_LT.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/ru_RU.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/de_DE.utf8 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/de_DE.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/el_GR.utf8 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/el_GR.utf8/LC_NAME 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_MEASUREMENT 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_CTYPE 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_TIME 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_NUMERIC 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_COLLATE 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_TELEPHONE 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_MONETARY 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_IDENTIFICATION 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_PAPER 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_ADDRESS 551s /tmp/tmp.cQpANknsNH/ja_JP.utf8/LC_NAME 551s TAP version 14 551s # random seed: R02Sf5e4839fae9a41ca0be78f1babe95015 551s 1..12 551s # Start of queue tests 551s ok 1 /queue/basic 551s ok 2 /queue/copy 551s ok 3 /queue/off-by-one 551s ok 4 /queue/find-custom 551s ok 5 /queue/static 551s ok 6 /queue/clear 551s ok 7 /queue/free-full 551s ok 8 /queue/clear-full 551s ok 9 /queue/insert-sibling-link 551s ok 10 /queue/push-nth-link 551s # Start of clear-full tests 551s ok 11 /queue/clear-full/noop 551s # End of clear-full tests 551s # Start of random tests 551s 1..330 551s # Running test: glib/queue.test 551s ok 12 /queue/random/seed:958784700 551s # End of random tests 551s # End of queue tests 551s ok - glib/queue.test 551s # Running test: glib/gdbus-addresses.test 551s TAP version 14 551s # random seed: R02S2908c49781c45be6c1bf3cb85cd7925e 551s 1..9 551s # Start of gdbus tests 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/system-data2 551s ok - glib/gdbus-addresses.test 551s # Running test: glib/cxx-17.test 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/empty-address/.dirs/runtime 551s ok 1 /gdbus/empty-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/unsupported-address/.dirs/runtime 551s ok 2 /gdbus/unsupported-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/address-parsing/.dirs/runtime 551s ok 3 /gdbus/address-parsing 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/unix-address/.dirs/runtime 551s ok 4 /gdbus/unix-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/nonce-tcp-address/.dirs/runtime 551s ok 5 /gdbus/nonce-tcp-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/tcp-address/.dirs/runtime 551s ok 6 /gdbus/tcp-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/autolaunch-address/.dirs/runtime 551s ok 7 /gdbus/autolaunch-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/mixed-address/.dirs/runtime 551s ok 8 /gdbus/mixed-address 551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/home 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/cache 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/system-config2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/config 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/system-data2 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/data 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/state 551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H29SE3/gdbus/escape-address/.dirs/runtime 551s ok 9 /gdbus/escape-address 551s # End of gdbus tests 551s TAP version 14 551s # random seed: R02Sf0aa76153e58ce358623add2d4d7b9a6 551s 1..2 551s # Start of gtask tests 551s # 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. 551s ok 1 /gtask/name 551s # Start of name tests 551s # 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. 551s ok 2 /gtask/name/macro-wrapper 551s # End of name tests 551s # End of gtask tests 551s TAP version 14 551s # random seed: R02Sccc33b4c3e391c71109517fd8918094e 551s 1..25 551s # Start of gapplication tests 551s ok 1 /gapplication/no-dbus 551s ok 2 /gapplication/no-appid 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s ok 3 /gapplication/properties 551s ok 4 /gapplication/app-id 551s ok - glib/cxx-17.test 551s # Running test: glib/gapplication.test 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s ok 5 /gapplication/quit 551s ok 6 /gapplication/registered 551s ok 7 /gapplication/local-actions 551s ok 8 /gapplication/local-command-line 551s ok 9 /gapplication/resource-path 551s ok 10 /gapplication/test-help 551s ok 11 /gapplication/command-line-done 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s ok 12 /gapplication/test-busy 551s ok 13 /gapplication/test-handle-local-options1 551s ok 14 /gapplication/test-handle-local-options2 551s ok 15 /gapplication/test-handle-local-options3 551s ok 16 /gapplication/api 551s ok 17 /gapplication/version 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 551s # launching subprocess 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s ok 18 /gapplication/replace 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 551s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 551s # launching subprocess 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 19 /gapplication/no-replace 552s # slow test /gapplication/no-replace executed in 0.50 secs 552s # Start of command-line tests 552s # /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 552s ok 20 /gapplication/command-line/arguments 552s # End of command-line tests 552s # Start of dbus tests 552s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 552s # Message 0 552s # Message 1 552s # Message 2 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok - glib/gapplication.test 552s # Running test: glib/object.test 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 21 /gapplication/dbus/activate 552s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 552s # Message 0 552s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 552s # Message 1 552s # Message 2 552s # Message 3 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 22 /gapplication/dbus/open 552s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 552s # Message 0 552s # Message 1 552s # Message 2 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 23 /gapplication/dbus/command-line 552s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 24 /gapplication/dbus/command-line-done 552s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 552s # Message 0 552s # Message 1 552s # Message 2 552s # Message 3 552s # Message 4 552s # Message 5 552s # Message 6 552s # Message 7 552s # Message 8 552s # Message 9 552s # Message 10 552s # Message 11 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 552s ok 25 /gapplication/dbus/activate-action 552s # End of dbus tests 552s # End of gapplication tests 552s TAP version 14 552s # random seed: R02S023615f69e571bd17c1faed1d941948f 552s 1..2 552s # Start of object tests 552s # Start of constructor tests 552s ok - glib/object.test 552s # Running test: glib/gdbus-error.test 552s ok - glib/gdbus-error.test 552s # Running test: glib/assert-msg-test.py.test 552s ok - glib/assert-msg-test.py.test 552s # Running test: glib/glistmodel.test 552s ok 1 /object/constructor/singleton 552s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 552s # End of constructor tests 552s # End of object tests 552s TAP version 14 552s # random seed: R02Sbd9a07f6859e5b57bab3619f161cb152 552s 1..4 552s # Start of gdbus tests 552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/home 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/cache 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/system-config2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/config 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/system-data2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/data 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/state 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XDDRE3/gdbus/registered-errors/.dirs/runtime 552s ok 1 /gdbus/registered-errors 552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/home 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/cache 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/system-config2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/config 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/system-data2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/data 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/state 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XDDRE3/gdbus/unregistered-errors/.dirs/runtime 552s ok 2 /gdbus/unregistered-errors 552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/home 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/cache 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/system-config2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/config 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/system-data2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/data 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/state 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XDDRE3/gdbus/transparent-gerror/.dirs/runtime 552s ok 3 /gdbus/transparent-gerror 552s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/home 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/cache 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/system-config2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/config 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/system-data2 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/data 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/state 552s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XDDRE3/gdbus/register-error/.dirs/runtime 552s ok 4 /gdbus/register-error 552s # End of gdbus tests 552s TAP version 13 552s ok 1 __main__.TestAssertMessage.test_gassert 552s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 552s # tmpdir: /tmp/tmp0mz0gzbb 552s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 552s # Return code: -6 552s # Output: 552s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 552s # Error: 552s # ** 552s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 552s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 552s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 552s # tmpdir: /tmp/tmpzudd60nu 552s 1..2 552s TAP version 14 552s # random seed: R02S3301c46b5d9821b568cdceb491db53c4 552s 1..18 552s # Start of glistmodel tests 552s # Start of store tests 552s ok 1 /glistmodel/store/properties 552s ok 2 /glistmodel/store/non-gobjects 552s ok 3 /glistmodel/store/boundaries 552s ok 4 /glistmodel/store/refcounts 552s ok 5 /glistmodel/store/sorted 552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 552s ok 6 /glistmodel/store/splice-replace-middle 552s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 552s ok 7 /glistmodel/store/splice-replace-all 552s ok 8 /glistmodel/store/splice-noop 552s ok 9 /glistmodel/store/splice-remove-multiple 552s ok 10 /glistmodel/store/splice-add-multiple 552s ok 11 /glistmodel/store/splice-wrong-type 552s ok - glib/glistmodel.test 552s # Running test: glib/ir-parser.test 552s ok - glib/ir-parser.test 552s # Running test: glib/hmac.test 552s ok 12 /glistmodel/store/item-type 552s ok 13 /glistmodel/store/remove-all 552s ok 14 /glistmodel/store/sort 552s ok 15 /glistmodel/store/get-item-cache 552s ok 16 /glistmodel/store/items-changed 552s ok 17 /glistmodel/store/past-end 552s ok 18 /glistmodel/store/find 552s # End of store tests 552s # End of glistmodel tests 552s TAP version 14 552s # random seed: R02S49eb454b61d6fcf8b169d580b2d9ca2b 552s 1..1 552s # Start of ir-parser tests 552s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: pushing node 1 dummy 552s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: popping node 1 dummy 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: pushing node 1 dummy 552s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: popping node 1 dummy 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: 552s # GLib-GIRepository-DEBUG: pushing node 1 dummy 552s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error*/ 552s # ENUM_VALUE_PRIVATE, 552s # } SomeEnumA 552s # 552s # /tmp/tmpvazz6hqh/tmpuycf27it.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN file-production ***/ 552s # file-production 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-production ***/ 552s # 552s # /*** BEGIN enumeration-production ***/ 552s # enumeration-production 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END enumeration-production ***/ 552s # 552s # /*** BEGIN value-header ***/ 552s # value-header 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-header ***/ 552s # 552s # /*** BEGIN value-production ***/ 552s # value-production 552s # VALUENAME: @VALUENAME@ 552s # valuenick: @valuenick@ 552s # valuenum: @valuenum@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-production ***/ 552s # 552s # /*** BEGIN value-tail ***/ 552s # value-tail 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-tail ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # /*** END file-tail ***/ 552s # 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvazz6hqh/tmpuycf27it.template', '/tmp/tmpvazz6hqh/tmpmneiie87.h'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # file-production 552s # filename: /tmp/tmpvazz6hqh/tmpmneiie87.h 552s # basename: tmpmneiie87.h 552s # enumeration-production 552s # EnumName: SomeEnumA 552s # enum_name: some_enum_a 552s # ENUMNAME: SOME_ENUM_A 552s # ENUMSHORT: ENUM_A 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-header 552s # EnumName: SomeEnumA 552s # enum_name: some_enum_a 552s # ENUMNAME: SOME_ENUM_A 552s # ENUMSHORT: ENUM_A 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-production 552s # VALUENAME: ENUM_VALUE_PUBLIC1 552s # valuenick: public1 552s # valuenum: 0 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-tail 552s # EnumName: SomeEnumA 552s # enum_name: some_enum_a 552s # ENUMNAME: SOME_ENUM_A 552s # ENUMSHORT: ENUM_A 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # file-tail 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 552s # 552s # /tmp/tmpvazz6hqh/tmp9metkj5x.h: 552s # typedef enum { 552s # /*< private >*/ 552s # ENUM_VALUE_PRIVATE, 552s # /*< public >*/ 552s # ENUM_VALUE_PUBLIC2, 552s # } SomeEnumB; 552s # 552s # /tmp/tmpvazz6hqh/tmpifeivtvn.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN file-production ***/ 552s # file-production 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-production ***/ 552s # 552s # /*** BEGIN enumeration-production ***/ 552s # enumeration-production 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END enumeration-production ***/ 552s # 552s # /*** BEGIN value-header ***/ 552s # value-header 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-header ***/ 552s # 552s # /*** BEGIN value-production ***/ 552s # value-production 552s # VALUENAME: @VALUENAME@ 552s # valuenick: @valuenick@ 552s # valuenum: @valuenum@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-production ***/ 552s # 552s # /*** BEGIN value-tail ***/ 552s # value-tail 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-tail ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # /*** END file-tail ***/ 552s # 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvazz6hqh/tmpifeivtvn.template', '/tmp/tmpvazz6hqh/tmp9metkj5x.h'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # file-production 552s # filename: /tmp/tmpvazz6hqh/tmp9metkj5x.h 552s # basename: tmp9metkj5x.h 552s # enumeration-production 552s # EnumName: SomeEnumB 552s # enum_name: some_enum_b 552s # ENUMNAME: SOME_ENUM_B 552s # ENUMSHORT: ENUM_B 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-header 552s # EnumName: SomeEnumB 552s # enum_name: some_enum_b 552s # ENUMNAME: SOME_ENUM_B 552s # ENUMSHORT: ENUM_B 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-production 552s # VALUENAME: ENUM_VALUE_PUBLIC2 552s # valuenick: public2 552s # valuenum: 1 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-tail 552s # EnumName: SomeEnumB 552s # enum_name: some_enum_b 552s # ENUMNAME: SOME_ENUM_B 552s # ENUMSHORT: ENUM_B 552s # ENUMPREFIX: SOME 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # file-tail 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 552s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmpixr1ta2a 552s # rspfile: False 552s # /tmp/tmpixr1ta2a/tmpbjvt0e0h.h: 552s # typedef enum { 552s # /*< private >*/ 552s # ENUM_VALUE_PRIVATE = 5, 552s # /*< public >*/ 552s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 552s # } TestSymbolicEnum; 552s # 552s # /tmp/tmpixr1ta2a/tmp56dmdq_0.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN file-production ***/ 552s # file-production 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-production ***/ 552s # 552s # /*** BEGIN enumeration-production ***/ 552s # enumeration-production 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END enumeration-production ***/ 552s # 552s # /*** BEGIN value-header ***/ 552s # value-header 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-header ***/ 552s # 552s # /*** BEGIN value-production ***/ 552s # value-production 552s # VALUENAME: @VALUENAME@ 552s # valuenick: @valuenick@ 552s # valuenum: @valuenum@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-production ***/ 552s # 552s # /*** BEGIN value-tail ***/ 552s # value-tail 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-tail ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # /*** END file-tail ***/ 552s # 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpixr1ta2a/tmp56dmdq_0.template', '/tmp/tmpixr1ta2a/tmpbjvt0e0h.h'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # file-production 552s # filename: /tmp/tmpixr1ta2a/tmpbjvt0e0h.h 552s # basename: tmpbjvt0e0h.h 552s # enumeration-production 552s # EnumName: TestSymbolicEnum 552s # enum_name: test_symbolic_enum 552s # ENUMNAME: TEST_SYMBOLIC_ENUM 552s # ENUMSHORT: SYMBOLIC_ENUM 552s # ENUMPREFIX: TEST 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-header 552s # EnumName: TestSymbolicEnum 552s # enum_name: test_symbolic_enum 552s # ENUMNAME: TEST_SYMBOLIC_ENUM 552s # ENUMSHORT: SYMBOLIC_ENUM 552s # ENUMPREFIX: TEST 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-production 552s # VALUENAME: ENUM_VALUE_PUBLIC 552s # valuenick: public 552s # valuenum: 7 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-tail 552s # EnumName: TestSymbolicEnum 552s # enum_name: test_symbolic_enum 552s # ENUMNAME: TEST_SYMBOLIC_ENUM 552s # ENUMSHORT: SYMBOLIC_ENUM 552s # ENUMPREFIX: TEST 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # file-tail 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 552s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmp6tgy4p8t 552s # rspfile: False 552s # /tmp/tmp6tgy4p8t/tmps3__1ct5.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-tail ***/ 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6tgy4p8t/tmps3__1ct5.template'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # filename: @filename@ 552s # basename: @basename@ 552s # file-tail 552s # filename: @filename@ 552s # basename: @basename@ 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 552s # WARNING: @filename@ used in file-header section. 552s # WARNING: @basename@ used in file-header section. 552s # WARNING: @filename@ used in file-tail section. 552s # WARNING: @basename@ used in file-tail section. 552s ok 11 __main__.TestMkenums.test_help 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmpquyzruw2 552s # rspfile: False 552s # Running: ['/usr/bin/glib-mkenums', '--help'] 552s # Return code: 0 552s # Output: 552s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 552s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 552s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 552s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 552s # [--comments COMMENT_TMPL] [--template TEMPLATE] 552s # [--output OUTPUT] [--version] 552s # [args ...] 552s # 552s # positional arguments: 552s # args One or more input files, or a single argument 552s # @rspfile_path pointing to a file that contains the 552s # actual arguments 552s # 552s # options: 552s # -h, --help show this help message and exit 552s # --identifier-prefix IDPREFIX 552s # Identifier prefix 552s # --symbol-prefix SYMPREFIX 552s # Symbol prefix 552s # --fhead FHEAD Output file header 552s # --ftail FTAIL Output file footer 552s # --fprod FPROD Put out TEXT every time a new input file is being 552s # processed. 552s # --eprod EPROD Per enum text, produced prior to value iterations 552s # --vhead VHEAD Value header, produced before iterating over enum 552s # values 552s # --vprod VPROD Value text, produced for each enum value. 552s # --vtail VTAIL Value tail, produced after iterating over enum values 552s # --comments COMMENT_TMPL 552s # Comment structure 552s # --template TEMPLATE Template file 552s # --output OUTPUT 552s # --version, -v Print version information 552s # 552s # Production text substitutions: 552s # @EnumName@ PrefixTheXEnum 552s # @enum_name@ prefix_the_xenum 552s # @ENUMNAME@ PREFIX_THE_XENUM 552s # @ENUMSHORT@ THE_XENUM 552s # @ENUMPREFIX@ PREFIX 552s # @enumsince@ the user-provided since value given 552s # @VALUENAME@ PREFIX_THE_XVALUE 552s # @valuenick@ the-xvalue 552s # @valuenum@ the integer value (limited support, Since: 2.26) 552s # @type@ either enum or flags 552s # @Type@ either Enum or Flags 552s # @TYPE@ either ENUM or FLAGS 552s # @filename@ name of current input file 552s # @basename@ base name of the current input file (Since: 2.22) 552s # Error: 552s ok 12 __main__.TestMkenums.test_no_args 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmprupyy3sq 552s # rspfile: False 552s # Running: ['/usr/bin/glib-mkenums'] 552s # Return code: 0 552s # Output: 552s # /* 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. */ 552s # 552s # 552s # /* Generated data ends here */ 552s # Error: 552s ok 13 __main__.TestMkenums.test_no_headers 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmp4g0bh3xf 552s # rspfile: False 552s # /tmp/tmp4g0bh3xf/tmpdbcg3wni.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN file-production ***/ 552s # file-production 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-production ***/ 552s # 552s # /*** BEGIN enumeration-production ***/ 552s # enumeration-production 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END enumeration-production ***/ 552s # 552s # /*** BEGIN value-header ***/ 552s # value-header 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-header ***/ 552s # 552s # /*** BEGIN value-production ***/ 552s # value-production 552s # VALUENAME: @VALUENAME@ 552s # valuenick: @valuenick@ 552s # valuenum: @valuenum@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-production ***/ 552s # 552s # /*** BEGIN value-tail ***/ 552s # value-tail 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-tail ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # /*** END file-tail ***/ 552s # 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4g0bh3xf/tmpdbcg3wni.template'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # file-tail 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 552s ok 14 __main__.TestMkenums.test_no_nick 552s # glib-mkenums: /usr/bin/glib-mkenums 552s # tmpdir: /tmp/tmp27ysg49w 552s # rspfile: False 552s # /tmp/tmp27ysg49w/tmptcszzbyb.h: 552s # typedef enum { 552s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 552s # } GeglSamplerType; 552s # 552s # /tmp/tmp27ysg49w/tmpjmm9734r.template: 552s # /*** BEGIN file-header ***/ 552s # file-header 552s # /*** END file-header ***/ 552s # 552s # /*** BEGIN file-production ***/ 552s # file-production 552s # filename: @filename@ 552s # basename: @basename@ 552s # /*** END file-production ***/ 552s # 552s # /*** BEGIN enumeration-production ***/ 552s # enumeration-production 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END enumeration-production ***/ 552s # 552s # /*** BEGIN value-header ***/ 552s # value-header 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-header ***/ 552s # 552s # /*** BEGIN value-production ***/ 552s # value-production 552s # VALUENAME: @VALUENAME@ 552s # valuenick: @valuenick@ 552s # valuenum: @valuenum@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-production ***/ 552s # 552s # /*** BEGIN value-tail ***/ 552s # value-tail 552s # EnumName: @EnumName@ 552s # enum_name: @enum_name@ 552s # ENUMNAME: @ENUMNAME@ 552s # ENUMSHORT: @ENUMSHORT@ 552s # ENUMPREFIX: @ENUMPREFIX@ 552s # enumsince: @enumsince@ 552s # type: @type@ 552s # Type: @Type@ 552s # TYPE: @TYPE@ 552s # /*** END value-tail ***/ 552s # 552s # /*** BEGIN comment ***/ 552s # comment 552s # comment: @comment@ 552s # /*** END comment ***/ 552s # 552s # /*** BEGIN file-tail ***/ 552s # file-tail 552s # /*** END file-tail ***/ 552s # 552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp27ysg49w/tmpjmm9734r.template', '/tmp/tmp27ysg49w/tmptcszzbyb.h'] 552s # Return code: 0 552s # Output: 552s # comment 552s # 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. 552s # 552s # 552s # file-header 552s # file-production 552s # filename: /tmp/tmp27ysg49w/tmptcszzbyb.h 552s # basename: tmptcszzbyb.h 552s # enumeration-production 552s # EnumName: GeglSamplerType 552s # enum_name: gegl_sampler_type 552s # ENUMNAME: GEGL_SAMPLER_TYPE 552s # ENUMSHORT: SAMPLER_TYPE 552s # ENUMPREFIX: GEGL 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-header 552s # EnumName: GeglSamplerType 552s # enum_name: gegl_sampler_type 552s # ENUMNAME: GEGL_SAMPLER_TYPE 552s # ENUMSHORT: SAMPLER_TYPE 552s # ENUMPREFIX: GEGL 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-production 552s # VALUENAME: GEGL_SAMPLER_NEAREST 552s # valuenick: nearest 552s # valuenum: 0 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # value-tail 552s # EnumName: GeglSamplerType 552s # enum_name: gegl_sampler_type 552s # ENUMNAME: GEGL_SAMPLER_TYPE 552s # ENUMSHORT: SAMPLER_TYPE 552s # ENUMPREFIX: GEGL 552s # enumsince: 552s # type: enum 552s # Type: Enum 552s # TYPE: ENUM 552s # file-tail 552s # 552s # comment 552s # comment: Generated data ends here 552s # Error: 553s ok 15 __main__.TestMkenums.test_non_utf8_encoding 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpvinx5cke 553s # rspfile: False 553s # /tmp/tmpvinx5cke/tmp1eqrdt85.h: 553s # /* Copyright © La Peña */ 553s # typedef enum { 553s # ENUM_VALUE 553s # } SomeEnumIdentifier; 553s # 553s # /tmp/tmpvinx5cke/tmptux8meyf.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvinx5cke/tmptux8meyf.template', '/tmp/tmpvinx5cke/tmp1eqrdt85.h'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpvinx5cke/tmp1eqrdt85.h 553s # basename: tmp1eqrdt85.h 553s # enumeration-production 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE 553s # valuenick: value 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 553s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 553s ok 16 __main__.TestMkenums.test_reproducible 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp2051uhgj 553s # rspfile: False 553s # /tmp/tmp2051uhgj/tmpe1zx2t5g.template: template 553s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2051uhgj/tmpe1zx2t5g.template', '/tmp/tmp2051uhgj/tmpvfuap3f21.h', '/tmp/tmp2051uhgj/tmpzvqlnejw2.h'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s # 553s # /tmp/tmp2051uhgj/tmpksgl19wk.template: template 553s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2051uhgj/tmpksgl19wk.template', '/tmp/tmp2051uhgj/tmpzvqlnejw2.h', '/tmp/tmp2051uhgj/tmpvfuap3f21.h'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s ok 17 __main__.TestMkenums.test_since 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp4ms9z07s 553s # rspfile: False 553s # /tmp/tmp4ms9z07s/tmp5t_gi45i.h: 553s # typedef enum { /*< since=1.0 >*/ 553s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 553s # } QmiWmsMessageProtocol; 553s # 553s # /tmp/tmp4ms9z07s/tmpsu0cnlc5.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4ms9z07s/tmpsu0cnlc5.template', '/tmp/tmp4ms9z07s/tmp5t_gi45i.h'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmp4ms9z07s/tmp5t_gi45i.h 553s # basename: tmp5t_gi45i.h 553s # enumeration-production 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 553s # valuenick: cdma 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 18 __main__.TestMkenums.test_with_double_quotes 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpnwrwnkpc 553s # rspfile: False 553s # /tmp/tmpnwrwnkpc/tmpsh101wya.h: 553s # typedef enum { 553s # FOO_VALUE /*< nick="eek, a comma" >*/ 553s # } Foo; 553s # 553s # /tmp/tmpnwrwnkpc/tmp5by6ywi5.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnwrwnkpc/tmp5by6ywi5.template', '/tmp/tmpnwrwnkpc/tmpsh101wya.h'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpnwrwnkpc/tmpsh101wya.h 553s # basename: tmpsh101wya.h 553s # enumeration-production 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: FOO_VALUE 553s # valuenick: eek, a comma 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 19 __main__.TestRspMkenums.test_available_in 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmply7cnv1k 553s # rspfile: True 553s # /tmp/tmply7cnv1k/tmp3k79p4wj.h: 553s # typedef enum { 553s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 553s # } GDBusServerFlags; 553s # 553s # /tmp/tmply7cnv1k/tmpnqspwefu.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmply7cnv1k/tmpnqspwefu.template /tmp/tmply7cnv1k/tmp3k79p4wj.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmply7cnv1k/tmp0c1qzqmm'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmply7cnv1k/tmp3k79p4wj.h 553s # basename: tmp3k79p4wj.h 553s # enumeration-production 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-header 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-production 553s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 553s # valuenick: user 553s # valuenum: 4 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-tail 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp386xfn6w 553s # rspfile: True 553s # /tmp/tmp386xfn6w/tmp0zof8nnk.h: 553s # typedef enum { 553s # ENUM_VALUE_WITH_COMMA = ',', 553s # } TestCommaEnum; 553s # 553s # /tmp/tmp386xfn6w/tmpm0wmc9qj.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmp386xfn6w/tmpm0wmc9qj.template /tmp/tmp386xfn6w/tmp0zof8nnk.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp386xfn6w/tmpq6u8fya6'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmp386xfn6w/tmp0zof8nnk.h 553s # basename: tmp0zof8nnk.h 553s # enumeration-production 553s # EnumName: TestCommaEnum 553s # enum_name: test_comma_enum 553s # ENUMNAME: TEST_COMMA_ENUM 553s # ENUMSHORT: COMMA_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: TestCommaEnum 553s # enum_name: test_comma_enum 553s # ENUMNAME: TEST_COMMA_ENUM 553s # ENUMSHORT: COMMA_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE_WITH_COMMA 553s # valuenick: comma 553s # valuenum: 44 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: TestCommaEnum 553s # enum_name: test_comma_enum 553s # ENUMNAME: TEST_COMMA_ENUM 553s # ENUMSHORT: COMMA_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 21 __main__.TestRspMkenums.test_deprecated_in 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp0xl343nn 553s # rspfile: True 553s # /tmp/tmp0xl343nn/tmppdsocg_0.h: 553s # typedef enum { 553s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 553s # } GDBusServerFlags; 553s # 553s # /tmp/tmp0xl343nn/tmpcync2e05.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmp0xl343nn/tmpcync2e05.template /tmp/tmp0xl343nn/tmppdsocg_0.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0xl343nn/tmpyo8r0kxd'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmp0xl343nn/tmppdsocg_0.h 553s # basename: tmppdsocg_0.h 553s # enumeration-production 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-header 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-production 553s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 553s # valuenick: user 553s # valuenum: 4 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-tail 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmptv_9okkv 553s # rspfile: True 553s # /tmp/tmptv_9okkv/tmpbgg_tq6d.h: 553s # typedef enum { 553s # 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) 553s # } GDBusServerFlags; 553s # 553s # /tmp/tmptv_9okkv/tmpib5ow90w.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmptv_9okkv/tmpib5ow90w.template /tmp/tmptv_9okkv/tmpbgg_tq6d.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptv_9okkv/tmpdy_xsinm'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmptv_9okkv/tmpbgg_tq6d.h 553s # basename: tmpbgg_tq6d.h 553s # enumeration-production 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-header 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-production 553s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 553s # valuenick: user 553s # valuenum: 4 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # value-tail 553s # EnumName: GDBusServerFlags 553s # enum_name: g_dbus_server_flags 553s # ENUMNAME: G_DBUS_SERVER_FLAGS 553s # ENUMSHORT: DBUS_SERVER_FLAGS 553s # ENUMPREFIX: G 553s # enumsince: 553s # type: flags 553s # Type: Flags 553s # TYPE: FLAGS 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 23 __main__.TestRspMkenums.test_empty_header 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpfihmsfk3 553s # rspfile: True 553s # /tmp/tmpfihmsfk3/tmptd9enky1.h: 553s # /tmp/tmpfihmsfk3/tmp8jk4c9sj.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpfihmsfk3/tmp8jk4c9sj.template /tmp/tmpfihmsfk3/tmptd9enky1.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfihmsfk3/tmp3340lw0r'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 24 __main__.TestRspMkenums.test_empty_template 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp3jhzudjm 553s # rspfile: True 553s # /tmp/tmp3jhzudjm/tmp5owno0bn.template: 553s # Response file contains: --template /tmp/tmp3jhzudjm/tmp5owno0bn.template 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3jhzudjm/tmpt73qvetu'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s ok 25 __main__.TestRspMkenums.test_enum_name 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpgz90f6ev 553s # rspfile: True 553s # /tmp/tmpgz90f6ev/tmp0h4ef09s.h: 553s # typedef enum _SomeEnumIdentifier { 553s # ENUM_VALUE 553s # } SomeEnumIdentifier; 553s # 553s # /tmp/tmpgz90f6ev/tmpr6n_p2x_.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpgz90f6ev/tmpr6n_p2x_.template /tmp/tmpgz90f6ev/tmp0h4ef09s.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgz90f6ev/tmpudqrg251'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpgz90f6ev/tmp0h4ef09s.h 553s # basename: tmp0h4ef09s.h 553s # enumeration-production 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE 553s # valuenick: value 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 26 __main__.TestRspMkenums.test_enum_private_public 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpoyjkycam 553s # rspfile: True 553s # /tmp/tmpoyjkycam/tmpnqtfre95.h: 553s # typedef enum { 553s # ENUM_VALUE_PUBLIC1, 553s # /*< private >*/ 553s # ENUM_VALUE_PRIVATE, 553s # } SomeEnumA 553s # 553s # /tmp/tmpoyjkycam/tmpduuk0ji1.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpoyjkycam/tmpduuk0ji1.template /tmp/tmpoyjkycam/tmpnqtfre95.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoyjkycam/tmpop_mpu8u'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpoyjkycam/tmpnqtfre95.h 553s # basename: tmpnqtfre95.h 553s # enumeration-production 553s # EnumName: SomeEnumA 553s # enum_name: some_enum_a 553s # ENUMNAME: SOME_ENUM_A 553s # ENUMSHORT: ENUM_A 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: SomeEnumA 553s # enum_name: some_enum_a 553s # ENUMNAME: SOME_ENUM_A 553s # ENUMSHORT: ENUM_A 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE_PUBLIC1 553s # valuenick: public1 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: SomeEnumA 553s # enum_name: some_enum_a 553s # ENUMNAME: SOME_ENUM_A 553s # ENUMSHORT: ENUM_A 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s # 553s # /tmp/tmpoyjkycam/tmpwppd1kte.h: 553s # typedef enum { 553s # /*< private >*/ 553s # ENUM_VALUE_PRIVATE, 553s # /*< public >*/ 553s # ENUM_VALUE_PUBLIC2, 553s # } SomeEnumB; 553s # 553s # /tmp/tmpoyjkycam/tmp3ukq7we0.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpoyjkycam/tmp3ukq7we0.template /tmp/tmpoyjkycam/tmpwppd1kte.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoyjkycam/tmpvmof9dj8'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpoyjkycam/tmpwppd1kte.h 553s # basename: tmpwppd1kte.h 553s # enumeration-production 553s # EnumName: SomeEnumB 553s # enum_name: some_enum_b 553s # ENUMNAME: SOME_ENUM_B 553s # ENUMSHORT: ENUM_B 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: SomeEnumB 553s # enum_name: some_enum_b 553s # ENUMNAME: SOME_ENUM_B 553s # ENUMSHORT: ENUM_B 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE_PUBLIC2 553s # valuenick: public2 553s # valuenum: 1 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: SomeEnumB 553s # enum_name: some_enum_b 553s # ENUMNAME: SOME_ENUM_B 553s # ENUMSHORT: ENUM_B 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp3yqtp1go 553s # rspfile: True 553s # /tmp/tmp3yqtp1go/tmp9lhnw5y0.h: 553s # typedef enum { 553s # /*< private >*/ 553s # ENUM_VALUE_PRIVATE = 5, 553s # /*< public >*/ 553s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 553s # } TestSymbolicEnum; 553s # 553s # /tmp/tmp3yqtp1go/tmp_uppoatc.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmp3yqtp1go/tmp_uppoatc.template /tmp/tmp3yqtp1go/tmp9lhnw5y0.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3yqtp1go/tmp04pkcfa8'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmp3yqtp1go/tmp9lhnw5y0.h 553s # basename: tmp9lhnw5y0.h 553s # enumeration-production 553s # EnumName: TestSymbolicEnum 553s # enum_name: test_symbolic_enum 553s # ENUMNAME: TEST_SYMBOLIC_ENUM 553s # ENUMSHORT: SYMBOLIC_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: TestSymbolicEnum 553s # enum_name: test_symbolic_enum 553s # ENUMNAME: TEST_SYMBOLIC_ENUM 553s # ENUMSHORT: SYMBOLIC_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE_PUBLIC 553s # valuenick: public 553s # valuenum: 7 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: TestSymbolicEnum 553s # enum_name: test_symbolic_enum 553s # ENUMNAME: TEST_SYMBOLIC_ENUM 553s # ENUMSHORT: SYMBOLIC_ENUM 553s # ENUMPREFIX: TEST 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmppuv_001m 553s # rspfile: True 553s # /tmp/tmppuv_001m/tmpok1pa7ei.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-tail ***/ 553s # Response file contains: --template /tmp/tmppuv_001m/tmpok1pa7ei.template 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppuv_001m/tmpfwpw87qc'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # filename: @filename@ 553s # basename: @basename@ 553s # file-tail 553s # filename: @filename@ 553s # basename: @basename@ 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s # WARNING: @filename@ used in file-header section. 553s # WARNING: @basename@ used in file-header section. 553s # WARNING: @filename@ used in file-tail section. 553s # WARNING: @basename@ used in file-tail section. 553s ok 29 __main__.TestRspMkenums.test_help 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp593dio7e 553s # rspfile: True 553s # Response file contains: --help 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp593dio7e/tmp0tos2bkq'] 553s # Return code: 0 553s # Output: 553s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 553s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 553s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 553s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 553s # [--comments COMMENT_TMPL] [--template TEMPLATE] 553s # [--output OUTPUT] [--version] 553s # [args ...] 553s # 553s # positional arguments: 553s # args One or more input files, or a single argument 553s # @rspfile_path pointing to a file that contains the 553s # actual arguments 553s # 553s # options: 553s # -h, --help show this help message and exit 553s # --identifier-prefix IDPREFIX 553s # Identifier prefix 553s # --symbol-prefix SYMPREFIX 553s # Symbol prefix 553s # --fhead FHEAD Output file header 553s # --ftail FTAIL Output file footer 553s # --fprod FPROD Put out TEXT every time a new input file is being 553s # processed. 553s # --eprod EPROD Per enum text, produced prior to value iterations 553s # --vhead VHEAD Value header, produced before iterating over enum 553s # values 553s # --vprod VPROD Value text, produced for each enum value. 553s # --vtail VTAIL Value tail, produced after iterating over enum values 553s # --comments COMMENT_TMPL 553s # Comment structure 553s # --template TEMPLATE Template file 553s # --output OUTPUT 553s # --version, -v Print version information 553s # 553s # Production text substitutions: 553s # @EnumName@ PrefixTheXEnum 553s # @enum_name@ prefix_the_xenum 553s # @ENUMNAME@ PREFIX_THE_XENUM 553s # @ENUMSHORT@ THE_XENUM 553s # @ENUMPREFIX@ PREFIX 553s # @enumsince@ the user-provided since value given 553s # @VALUENAME@ PREFIX_THE_XVALUE 553s # @valuenick@ the-xvalue 553s # @valuenum@ the integer value (limited support, Since: 2.26) 553s # @type@ either enum or flags 553s # @Type@ either Enum or Flags 553s # @TYPE@ either ENUM or FLAGS 553s # @filename@ name of current input file 553s # @basename@ base name of the current input file (Since: 2.22) 553s # Error: 553s ok 30 __main__.TestRspMkenums.test_no_args 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp35zt8fju 553s # rspfile: True 553s # Response file contains: 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp35zt8fju/tmpzjfxo5tl'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s ok 31 __main__.TestRspMkenums.test_no_headers 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp9sgu4c8a 553s # rspfile: True 553s # /tmp/tmp9sgu4c8a/tmps03dh7am.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmp9sgu4c8a/tmps03dh7am.template 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9sgu4c8a/tmp9q0q1sxp'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 32 __main__.TestRspMkenums.test_no_nick 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmptzgb6wro 553s # rspfile: True 553s # /tmp/tmptzgb6wro/tmpddl4pjh1.h: 553s # typedef enum { 553s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 553s # } GeglSamplerType; 553s # 553s # /tmp/tmptzgb6wro/tmp92cy7o7z.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmptzgb6wro/tmp92cy7o7z.template /tmp/tmptzgb6wro/tmpddl4pjh1.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptzgb6wro/tmp1gxvnnmj'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmptzgb6wro/tmpddl4pjh1.h 553s # basename: tmpddl4pjh1.h 553s # enumeration-production 553s # EnumName: GeglSamplerType 553s # enum_name: gegl_sampler_type 553s # ENUMNAME: GEGL_SAMPLER_TYPE 553s # ENUMSHORT: SAMPLER_TYPE 553s # ENUMPREFIX: GEGL 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: GeglSamplerType 553s # enum_name: gegl_sampler_type 553s # ENUMNAME: GEGL_SAMPLER_TYPE 553s # ENUMSHORT: SAMPLER_TYPE 553s # ENUMPREFIX: GEGL 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: GEGL_SAMPLER_NEAREST 553s # valuenick: nearest 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: GeglSamplerType 553s # enum_name: gegl_sampler_type 553s # ENUMNAME: GEGL_SAMPLER_TYPE 553s # ENUMSHORT: SAMPLER_TYPE 553s # ENUMPREFIX: GEGL 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmprch45u0s 553s # rspfile: True 553s # /tmp/tmprch45u0s/tmp_2fi5gcs.h: 553s # /* Copyright © La Peña */ 553s # typedef enum { 553s # ENUM_VALUE 553s # } SomeEnumIdentifier; 553s # 553s # /tmp/tmprch45u0s/tmpofrnh70q.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmprch45u0s/tmpofrnh70q.template /tmp/tmprch45u0s/tmp_2fi5gcs.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprch45u0s/tmp_s46wsz9'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmprch45u0s/tmp_2fi5gcs.h 553s # basename: tmp_2fi5gcs.h 553s # enumeration-production 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: ENUM_VALUE 553s # valuenick: value 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: SomeEnumIdentifier 553s # enum_name: some_enum_identifier 553s # ENUMNAME: SOME_ENUM_IDENTIFIER 553s # ENUMSHORT: ENUM_IDENTIFIER 553s # ENUMPREFIX: SOME 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 553s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 553s ok 34 __main__.TestRspMkenums.test_reproducible 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmp8uzxsls3 553s # rspfile: True 553s # /tmp/tmp8uzxsls3/tmp37xza262.template: template 553s # Response file contains: --template /tmp/tmp8uzxsls3/tmp37xza262.template /tmp/tmp8uzxsls3/tmpmsszkxu_1.h /tmp/tmp8uzxsls3/tmpoj36qr4q2.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8uzxsls3/tmpt75_i1xr'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s # 553s # /tmp/tmp8uzxsls3/tmpauc6w8mw.template: template 553s # Response file contains: --template /tmp/tmp8uzxsls3/tmpauc6w8mw.template /tmp/tmp8uzxsls3/tmpoj36qr4q2.h /tmp/tmp8uzxsls3/tmpmsszkxu_1.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8uzxsls3/tmpn9lww3ok'] 553s # Return code: 0 553s # Output: 553s # /* 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. */ 553s # 553s # 553s # /* Generated data ends here */ 553s # Error: 553s ok 35 __main__.TestRspMkenums.test_since 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpg6mxc6d1 553s # rspfile: True 553s # /tmp/tmpg6mxc6d1/tmp65jhsm3p.h: 553s # typedef enum { /*< since=1.0 >*/ 553s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 553s # } QmiWmsMessageProtocol; 553s # 553s # /tmp/tmpg6mxc6d1/tmptqfaah49.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpg6mxc6d1/tmptqfaah49.template /tmp/tmpg6mxc6d1/tmp65jhsm3p.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg6mxc6d1/tmpweto1nqe'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpg6mxc6d1/tmp65jhsm3p.h 553s # basename: tmp65jhsm3p.h 553s # enumeration-production 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 553s # valuenick: cdma 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: QmiWmsMessageProtocol 553s # enum_name: qmi_wms_message_protocol 553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 553s # ENUMPREFIX: QMI 553s # enumsince: 1.0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s ok 36 __main__.TestRspMkenums.test_with_double_quotes 553s # glib-mkenums: /usr/bin/glib-mkenums 553s # tmpdir: /tmp/tmpn6nlk3sd 553s # rspfile: True 553s # /tmp/tmpn6nlk3sd/tmprlho4042.h: 553s # typedef enum { 553s # FOO_VALUE /*< nick="eek, a comma" >*/ 553s # } Foo; 553s # 553s # /tmp/tmpn6nlk3sd/tmpi3tfg7pq.template: 553s # /*** BEGIN file-header ***/ 553s # file-header 553s # /*** END file-header ***/ 553s # 553s # /*** BEGIN file-production ***/ 553s # file-production 553s # filename: @filename@ 553s # basename: @basename@ 553s # /*** END file-production ***/ 553s # 553s # /*** BEGIN enumeration-production ***/ 553s # enumeration-production 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END enumeration-production ***/ 553s # 553s # /*** BEGIN value-header ***/ 553s # value-header 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-header ***/ 553s # 553s # /*** BEGIN value-production ***/ 553s # value-production 553s # VALUENAME: @VALUENAME@ 553s # valuenick: @valuenick@ 553s # valuenum: @valuenum@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-production ***/ 553s # 553s # /*** BEGIN value-tail ***/ 553s # value-tail 553s # EnumName: @EnumName@ 553s # enum_name: @enum_name@ 553s # ENUMNAME: @ENUMNAME@ 553s # ENUMSHORT: @ENUMSHORT@ 553s # ENUMPREFIX: @ENUMPREFIX@ 553s # enumsince: @enumsince@ 553s # type: @type@ 553s # Type: @Type@ 553s # TYPE: @TYPE@ 553s # /*** END value-tail ***/ 553s # 553s # /*** BEGIN comment ***/ 553s # comment 553s # comment: @comment@ 553s # /*** END comment ***/ 553s # 553s # /*** BEGIN file-tail ***/ 553s # file-tail 553s # /*** END file-tail ***/ 553s # 553s # Response file contains: --template /tmp/tmpn6nlk3sd/tmpi3tfg7pq.template /tmp/tmpn6nlk3sd/tmprlho4042.h 553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn6nlk3sd/tmpz209ejl2'] 553s # Return code: 0 553s # Output: 553s # comment 553s # 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. 553s # 553s # 553s # file-header 553s # file-production 553s # filename: /tmp/tmpn6nlk3sd/tmprlho4042.h 553s # basename: tmprlho4042.h 553s # enumeration-production 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-header 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-production 553s # VALUENAME: FOO_VALUE 553s # valuenick: eek, a comma 553s # valuenum: 0 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # value-tail 553s # EnumName: Foo 553s # enum_name: foo_ 553s # ENUMNAME: FOO_ 553s # ENUMSHORT: 553s # ENUMPREFIX: FOO 553s # enumsince: 553s # type: enum 553s # Type: Enum 553s # TYPE: ENUM 553s # file-tail 553s # 553s # comment 553s # comment: Generated data ends here 553s # Error: 553s 1..36 553s ok - glib/mkenums.py.test 553s # Running test: glib/gmenumodel.test 553s TAP version 14 553s # random seed: R02Sbde7b48bca74e9d5ced540e6e5b22112 553s 1..15 553s # Start of gmenu tests 554s ok 1 /gmenu/equality 554s ok 2 /gmenu/random 554s ok 3 /gmenu/attributes 554s ok 4 /gmenu/links 554s ok 5 /gmenu/mutable 554s ok 6 /gmenu/convenience 554s ok 7 /gmenu/menuitem 554s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 554s ok 8 /gmenu/input-validation 554s # Start of dbus tests 555s ok 9 /gmenu/dbus/roundtrip 555s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 556s ok 10 /gmenu/dbus/subscriptions 556s # Executing: glib/gmenumodel.test 556s ok 11 /gmenu/dbus/threaded 556s # slow test /gmenu/dbus/threaded executed in 0.51 secs 556s # Start of peer tests 557s ok 12 /gmenu/dbus/peer/roundtrip 557s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 558s ok 13 /gmenu/dbus/peer/subscriptions 558s # End of peer tests 558s # Start of export tests 558s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 558s ok 14 /gmenu/dbus/export/error-handling 558s # End of export tests 558s # End of dbus tests 558s # Start of attributes tests 558s ok 15 /gmenu/attributes/iterate 558s # End of attributes tests 558s # End of gmenu tests 558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 558s TAP version 14 558s # random seed: R02S2dcdc0c88475937fd54fb2a59c9ba1d2 558s 1..2 558s # Start of object-info tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TT3LE3/object-info/find-method-using-interfaces/.dirs/runtime 558s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 558s ok 1 /object-info/find-method-using-interfaces 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TT3LE3/object-info/find-vfunc-using-interfaces/.dirs/runtime 558s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 558s ok 2 /object-info/find-vfunc-using-interfaces 558s # End of object-info tests 558s TAP version 14 558s # random seed: R02S98c554af99f8cc8d3423e28c22884faf 558s 1..2 558s # Start of glib tests 558s # Start of 1bit-mutex tests 558s ok - glib/gmenumodel.test 558s # Running test: glib/object-info.test 558s ok - glib/object-info.test 558s # Running test: glib/1bit-mutex.test 560s ok 1 /glib/1bit-mutex/int 560s # slow test /glib/1bit-mutex/int executed in 2.25 secs 561s # Executing: glib/1bit-mutex.test 562s ok 2 /glib/1bit-mutex/pointer 562s # slow test /glib/1bit-mutex/pointer executed in 2.20 secs 562s # End of 1bit-mutex tests 562s # End of glib tests 562s ok - glib/1bit-mutex.test 562s # Running test: glib/simple-async-result.test 562s TAP version 14 562s # random seed: R02Sc17c58fe43995d2ceab5414e150fa394 562s 1..2 562s # Start of gio tests 562s # Start of simple-async-result tests 562s ok 1 /gio/simple-async-result/test 562s ok - glib/simple-async-result.test 562s # GLib-GIO-DEBUG: GTask 0x2aa330b9b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 562s ok 2 /gio/simple-async-result/valid 562s # End of simple-async-result tests 562s # End of gio tests 562s # Running test: glib/buffered-input-stream.test 562s TAP version 14 562s # random seed: R02S1b398e8839a96692348c6b31c5ed137f 562s 1..10 562s # Start of buffered-input-stream tests 562s ok 1 /buffered-input-stream/peek 562s ok 2 /buffered-input-stream/peek-buffer 562s ok 3 /buffered-input-stream/set-buffer-size 562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 562s ok 4 /buffered-input-stream/read-byte 562s ok 5 /buffered-input-stream/read 562s ok 6 /buffered-input-stream/read-async 562s ok - glib/buffered-input-stream.test 562s # Running test: glib/list.test 562s ok - glib/list.test 562s # Running test: glib/defaultiface.test 562s ok - glib/defaultiface.test 562s # Running test: glib/socket.test 562s ok 7 /buffered-input-stream/skip 562s ok 8 /buffered-input-stream/skip-async 562s ok 9 /buffered-input-stream/seek 562s # End of buffered-input-stream tests 562s # Start of filter-input-stream tests 562s ok 10 /filter-input-stream/close 562s # End of filter-input-stream tests 562s TAP version 14 562s # random seed: R02Sb64d7efed8520b66155c4df5aebb4f27 562s 1..20 562s # Start of list tests 562s ok 1 /list/sort 562s ok 2 /list/sort-with-data 562s ok 3 /list/insert-before-link 562s ok 4 /list/insert-sorted 562s ok 5 /list/insert-sorted-with-data 562s ok 6 /list/reverse 562s ok 7 /list/nth 562s ok 8 /list/concat 562s ok 9 /list/remove 562s ok 10 /list/remove-all 562s ok 11 /list/first-last 562s ok 12 /list/insert 562s ok 13 /list/free-full 562s ok 14 /list/copy 562s ok 15 /list/copy-deep 562s ok 16 /list/delete-link 562s ok 17 /list/prepend 562s ok 18 /list/position 562s ok 19 /list/double-free 562s # Start of sort tests 562s ok 20 /list/sort/stable 562s # End of sort tests 562s # End of list tests 562s TAP version 14 562s # random seed: R02Sc70371003e39b07e871bf8667711068c 562s 1..2 562s # Start of gobject tests 562s ok 1 /gobject/static-iface 562s ok 2 /gobject/dynamic-iface 562s # End of gobject tests 562s TAP version 14 562s # random seed: R02S549c6f25968a67e8ce2d91063b9aab72 562s 1..30 562s # Start of socket tests 563s ok 1 /socket/ipv4_sync 563s # slow test /socket/ipv4_sync executed in 1.00 secs 564s ok 2 /socket/ipv4_async 564s # slow test /socket/ipv4_async executed in 1.00 secs 564s ok 3 /socket/ipv6_sync 564s ok 4 /socket/ipv6_async 564s ok 5 /socket/ipv6_v4mapped 565s ok 6 /socket/close_graceful 565s # slow test /socket/close_graceful executed in 1.00 secs 565s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 565s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 565s ok 8 /socket/fd_reuse 565s ok 9 /socket/address 565s ok 10 /socket/unix-from-fd 565s ok 11 /socket/unix-connection 565s ok 12 /socket/unix-connection-ancillary-data 565s ok 13 /socket/source-postmortem 565s ok 14 /socket/read_write 565s ok 15 /socket/read_writev 565s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 565s ok 16 /socket/receive_bytes 565s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 565s ok 17 /socket/receive_bytes_from 565s # Start of ipv4_sync tests 565s ok 18 /socket/ipv4_sync/datagram 565s # Start of datagram tests 566s # Executing: glib/socket.test 566s ok 19 /socket/ipv4_sync/datagram/timeouts 566s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 566s # End of datagram tests 566s # End of ipv4_sync tests 566s # Start of ipv6_sync tests 566s ok 20 /socket/ipv6_sync/datagram 566s # Start of datagram tests 567s ok 21 /socket/ipv6_sync/datagram/timeouts 567s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 567s # End of datagram tests 567s # End of ipv6_sync tests 567s # Start of reuse tests 567s ok 22 /socket/reuse/tcp 567s ok 23 /socket/reuse/udp 567s # End of reuse tests 567s # Start of get_available tests 567s ok 24 /socket/get_available/datagram 567s ok 25 /socket/get_available/stream 567s # End of get_available tests 567s # Start of credentials tests 567s # Supported on this OS: GCredentials:linux-ucred:pid=0 567s ok 26 /socket/credentials/tcp_client 567s # Supported on this OS: GCredentials:linux-ucred:pid=0 567s ok 27 /socket/credentials/tcp_server 567s # Supported on this OS: GCredentials:linux-ucred:pid=2376,uid=1000,gid=1000 567s ok 28 /socket/credentials/unix_socketpair 567s # End of credentials tests 567s # Start of accept tests 567s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 567s ok 29 /socket/accept/cancelled 567s # End of accept tests 567s # Start of connect tests 567s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 567s ok 30 /socket/connect/cancelled 567s # End of connect tests 567s # End of socket tests 567s ok - glib/socket.test 567s # Running test: glib/deprecated-properties.test 567s ok - glib/deprecated-properties.test 567s # Running test: glib/inet-address.test 567s ok - glib/inet-address.test 567s # Running test: glib/cxx.test 567s ok - glib/cxx.test 567s # Running test: glib/fdo-notification-backend.test 567s ok - glib/fdo-notification-backend.test 567s # Running test: glib/spawn-singlethread.test 567s TAP version 14 567s # random seed: R02S904eb4f3e1843d760281e205faa1022e 567s 1..3 567s # Start of deprecated-properties tests 567s ok 1 /deprecated-properties/construct 567s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 567s ok 2 /deprecated-properties/default-construct 567s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 567s ok 3 /deprecated-properties/set 567s # End of deprecated-properties tests 567s TAP version 14 567s # random seed: R02S9e345130d4469529be548e4cf13a5ed5 567s 1..11 567s # Start of inet-address tests 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 567s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 567s ok 1 /inet-address/parse 567s ok 2 /inet-address/any 567s ok 3 /inet-address/loopback 567s ok 4 /inet-address/bytes 567s ok 5 /inet-address/property 567s # End of inet-address tests 567s # Start of socket-address tests 567s ok 6 /socket-address/basic 567s ok 7 /socket-address/to-string 567s # End of socket-address tests 567s # Start of address-mask tests 567s ok 8 /address-mask/parse 567s ok 9 /address-mask/property 567s ok 10 /address-mask/equal 567s ok 11 /address-mask/match 567s # End of address-mask tests 567s TAP version 14 567s # random seed: R02S6870c02bcbaee8c7b6a2439c67439be0 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: R02S8ebdf7676cedb6ab82fc9dea5e3073c7 567s 1..2 567s # Start of fdo-notification-backend tests 567s # Test constructing a GFdoNotificationBackend 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 1 /fdo-notification-backend/construction 567s # Start of dbus tests 567s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 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 /fdo-notification-backend/dbus/activate-action 567s # End of dbus tests 567s # End of fdo-notification-backend tests 567s TAP version 14 567s # random seed: R02S53992b957d0c952b96a93cfc00d1bae3 567s 1..9 567s # Start of gthread tests 567s ok 1 /gthread/spawn-single-sync 567s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 567s ok 2 /gthread/spawn-stderr-socket 567s ok 3 /gthread/spawn-single-async 567s # thread 1 567s # thread 1 567s ok 4 /gthread/spawn-single-async-with-fds 567s ok 5 /gthread/spawn-async-with-invalid-fds 567s ok 6 /gthread/spawn-script 567s ok 7 /gthread/spawn-posix-spawn 567s # Start of spawn tests 567s ok 8 /gthread/spawn/nonexistent 567s # FD map: 567s # • 5 → 15 567s # • 6 → 16 567s # • 7 → 17 567s # • 8 → 18 567s # • 9 → 19 567s # • 10 → 20 567s # • 11 → 21 567s # • 12 → 22 567s # • 13 → 23 567s # • 3 → 13 567s ok 9 /gthread/spawn/fd-assignment-clash 567s # End of spawn tests 567s # End of gthread tests 567s TAP version 14 567s # random seed: R02S40d7bf221b177a97c0a53bea669ff1a1 567s 1..27 567s # Start of boxed tests 567s ok 1 /boxed/define 567s ok 2 /boxed/ownership 567s ok 3 /boxed/closure 567s ok 4 /boxed/date 567s ok 5 /boxed/value 567s ok 6 /boxed/string 567s ok 7 /boxed/hashtable 567s ok 8 /boxed/array 567s ok 9 /boxed/ptrarray 567s ok 10 /boxed/regex 567s ok 11 /boxed/varianttype 567s ok 12 /boxed/error 567s ok 13 /boxed/datetime 567s ok 14 /boxed/matchinfo 567s ok 15 /boxed/keyfile 567s ok 16 /boxed/mainloop 567s ok 17 /boxed/maincontext 567s ok 18 /boxed/source 567s ok 19 /boxed/variantbuilder 567s ok 20 /boxed/timezone 567s ok 21 /boxed/pollfd 567s ok 22 /boxed/markup 567s ok 23 /boxed/thread 567s ok 24 /boxed/checksum 567s ok 25 /boxed/tree 567s ok 26 /boxed/patternspec 567s ok 27 /boxed/rand 567s # End of boxed tests 567s TAP version 14 567s # random seed: R02S82a61a1b74118088583cf6d8ca074293 567s 1..4 567s # Start of socket-listener tests 567s ok 1 /socket-listener/event-signal 567s # Start of accept tests 567s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 567s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 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 0x2aa251394c0 and GSocketClientAsyncConnectData 0x2aa25134960 567s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 567s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2513bb50 and GSocketClientAsyncConnectData 0x2aa2513b9a0 567s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 567s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2513c370 and GSocketClientAsyncConnectData 0x2aa2513c0f0 567s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 567s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2513cbf0 and GSocketClientAsyncConnectData 0x2aa2513c970 567s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 567s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2513d410 and GSocketClientAsyncConnectData 0x2aa2513d190 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 0x2aa2513f950 for GSocketClientAsyncConnectData 0x2aa25134960 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 567s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 567s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa25141ac0 for GSocketClientAsyncConnectData 0x2aa2513b9a0 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 567s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 567s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa25142270 for GSocketClientAsyncConnectData 0x2aa2513c0f0 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 567s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 567s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa25142910 for GSocketClientAsyncConnectData 0x2aa2513c970 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 567s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 567s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2513eff0 for GSocketClientAsyncConnectData 0x2aa2513d190 567s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 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 # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 567s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 567s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 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 # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 567s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 567s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 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 /socket-listener/accept/multi-simultaneously 567s # End of accept tests 567s # Start of add-any-inet-port tests 567s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 567s # Test 0 567s # Test 1 567s # Test 2 567s # Test 3 567s # Test 4 567s # Test 5 567s # Test 6 567s # Test 7 567s # Test 8 567s # Test 9 567s # Test 10 567s ok 3 /socket-listener/add-any-inet-port/listen-failures 567s # End of add-any-inet-port tests 567s # Start of add-inet-port tests 567s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 567s # Test 0 567s # Test 1 567s # Test 2 567s # Test 3 567s # Test 4 567s # Test 5 567s # Test 6 567s # Test 7 567s # Test 8 567s # Test 9 567s # Test 10 567s ok 4 /socket-listener/add-inet-port/listen-failures 567s # End of add-inet-port tests 567s # End of socket-listener tests 567s TAP version 14 567s # random seed: R02Sef3990b785ef363ef14f1f20be4209f4 567s 1..5 567s # Start of gdbus tests 567s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/home 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/cache 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/system-config2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/config 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/system-data2 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/data 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/state 567s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/.dirs/runtime 567s ok - glib/spawn-singlethread.test 567s # Running test: glib/boxed.test 567s ok - glib/boxed.test 567s # Running test: glib/socket-listener.test 567s ok - glib/socket-listener.test 567s # Running test: glib/gdbus-proxy.test 569s ok 1 /gdbus/proxy 569s # slow test /gdbus/proxy executed in 1.72 secs 569s # Start of proxy tests 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-properties/.dirs/runtime 569s ok 2 /gdbus/proxy/no-properties 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/wellknown-noauto/.dirs/runtime 569s ok 3 /gdbus/proxy/wellknown-noauto 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/async/.dirs/runtime 571s ok 4 /gdbus/proxy/async 571s # slow test /gdbus/proxy/async executed in 1.72 secs 571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/home 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/cache 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/system-config2 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/config 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/system-data2 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/data 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/state 571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZQA2E3/gdbus/proxy/no-match-rule/.dirs/runtime 571s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 571s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 571s # Executing: glib/gdbus-proxy.test 573s ok 5 /gdbus/proxy/no-match-rule 573s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 573s # End of proxy tests 573s # End of gdbus tests 573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 573s ok - glib/gdbus-proxy.test 573s # Running test: glib/gdbus-address-get-session.test 573s ok - glib/gdbus-address-get-session.test 573s # Running test: glib/slice.test 573s TAP version 14 573s # random seed: R02S9d2ccc86b424c887a3fede4240805a7a 573s 1..2 573s # Start of gdbus tests 573s ok 1 /gdbus/x11-autolaunch 573s ok 2 /gdbus/xdg-runtime 573s # End of gdbus tests 573s TAP version 14 573s # random seed: R02S9e2f6e565f94bac48a9f1dec513572a4 573s 1..3 573s # Start of slice tests 573s ok 1 /slice/copy 573s ok 2 /slice/chain 573s ok 3 /slice/allocate 573s # End of slice tests 573s ok - glib/slice.test 573s # Running test: glib/642026.test 573s TAP version 14 573s # random seed: R02S1258ad0da32c5978e5aaef17e98a440e 573s 1..1 573s # Start of glib tests 573s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 573s ok 1 /glib/642026 573s # End of glib tests 573s TAP version 14 573s # random seed: R02S6e5305e201199f308aae29caaa2d7197 573s 1..6 573s # Start of thread_pool tests 573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 573s ok 1 /thread_pool/pool_fail 573s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 573s ok - glib/642026.test 573s # Running test: glib/thread-pool.test 573s ok 2 /thread_pool/shared 573s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 573s ok 3 /thread_pool/exclusive 573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 573s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 573s ok 4 /thread_pool/create_shared_after_exclusive 573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 573s ok 5 /thread_pool/create_full 573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 573s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 573s ok - glib/thread-pool.test 573s # Running test: glib/registered-type-info.test 573s ok - glib/registered-type-info.test 573s # Running test: glib/value.test 573s ok 6 /thread_pool/create_exclusive_after_shared 573s # End of thread_pool tests 573s TAP version 14 573s # random seed: R02S3ed814cd006f3abcec9c804fba331130 573s 1..1 573s # Start of registered-type-info tests 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_UW7JE3/registered-type-info/boxed/.dirs/runtime 573s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 573s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 573s # Expecting CClosure to not be boxed 573s # Expecting TypeCValue to not be boxed 573s # Expecting InitiallyUnownedClass to not be boxed 573s # Expecting BookmarkFile to be boxed 573s # Expecting Closure to be boxed 573s # Expecting Object to not be boxed 573s ok 1 /registered-type-info/boxed 573s # End of registered-type-info tests 573s TAP version 14 573s ok - glib/value.test 573s # Running test: glib/application-command-line.test 573s ok - glib/application-command-line.test 573s # Running test: glib/gutils-user-database.test 573s ok - glib/gutils-user-database.test 573s # Running test: glib/gdbus-sasl.test 573s # random seed: R02S5220f827ea5119e2b53c6293b09dbf64 573s 1..9 573s # Start of value tests 573s ok 1 /value/basic 573s ok 2 /value/collection 573s ok 3 /value/copying 573s ok 4 /value/enum-transformation 573s ok 5 /value/gtype 573s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 573s ok 6 /value/string 573s # Next: GObject object in GValue of GObject to GValue of GObject 573s # Next: GObject object in GValue of GObject to GValue of TestInterface 573s # Next: GObject object in GValue of GObject to GValue of TestObjectA 573s # Next: GObject object in GValue of GObject to GValue of TestObjectB 573s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 573s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 573s # Next: TestObjectA object in GValue of GObject to GValue of GObject 573s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 573s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 573s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 573s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 573s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 573s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 573s # Next: TestObjectB object in GValue of GObject to GValue of GObject 573s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 573s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 573s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 573s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 573s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 573s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 573s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 573s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 573s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 573s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 573s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 573s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 573s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 573s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 573s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 573s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 573s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 573s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 573s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 573s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 573s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 573s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 573s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 573s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 573s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 573s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 573s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 573s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 573s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 573s ok 7 /value/transform-object 573s # Start of array tests 573s ok 8 /value/array/basic 573s ok 9 /value/array/sort-with-data 573s # End of array tests 573s # End of value tests 573s TAP version 14 573s # random seed: R02Sb9aa2e5c4ecf410e573036e0faac9e75 573s 1..1 573s # Start of application-command-line tests 573s ok 1 /application-command-line/basic-properties 573s # End of application-command-line tests 573s TAP version 14 573s # random seed: R02S0a59439d8562660671f77dda92fef4bb 573s 1..1 573s # Start of gutils tests 573s ok 1 /gutils/get_user_database_entry 573s # End of gutils tests 573s ok - glib/gdbus-sasl.test 573s # Running test: glib/gdbus-export.test 573s TAP version 14 573s # random seed: R02S7a832d011a85c08cce2d4498fd31fb7a 573s 1..1 573s # Start of gdbus tests 573s # Start of sasl tests 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_ZEZJE3/gdbus/sasl/server/.dirs/runtime 573s # New handshake: EXTERNAL with incorrect initial response 573s # C:“AUTH EXTERNAL 30” 573s # Expect: /^REJECTED.*$/ 573s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 573s # New handshake: EXTERNAL without initial response, failing to authenticate 573s # C:“AUTH EXTERNAL” 573s # Expect: /^DATA$/ 573s # S:“DATA” 573s # C:“DATA 30” 573s # Expect: /^REJECTED.*$/ 573s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 573s # New handshake: EXTERNAL with initial response 573s # C:“AUTH EXTERNAL 31303030” 573s # Expect: /^OK [0-9a-f]+$/ 573s # S:“OK 39a12205010ec2f2c5d6d3a368f3de44” 573s # New handshake: EXTERNAL without initial response 573s # C:“AUTH EXTERNAL” 573s # Expect: /^DATA$/ 573s # S:“DATA” 573s # C:“DATA 31303030” 573s # Expect: /^OK [0-9a-f]+$/ 573s # S:“OK 39a12205010ec2f2c5d6d3a368f3de44” 573s # New handshake: EXTERNAL with empty authorization identity 573s # C:“AUTH EXTERNAL” 573s # Expect: /^DATA$/ 573s # S:“DATA” 573s # C:“DATA” 573s # Expect: /^OK [0-9a-f]+$/ 573s # S:“OK 39a12205010ec2f2c5d6d3a368f3de44” 573s # New handshake: EXTERNAL with empty authorization identity and whitespace 573s # C:“AUTH EXTERNAL” 573s # Expect: /^DATA$/ 573s # S:“DATA” 573s # C:“DATA ” 573s # Expect: /^OK [0-9a-f]+$/ 573s # S:“OK 39a12205010ec2f2c5d6d3a368f3de44” 573s ok 1 /gdbus/sasl/server 573s # End of sasl tests 573s # End of gdbus tests 573s TAP version 14 573s # random seed: R02S943be778b97a709ad3b19601867da7b0 573s 1..7 573s # Start of gdbus tests 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration/.dirs/runtime 573s ok 1 /gdbus/object-registration 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures/.dirs/runtime 573s ok 2 /gdbus/object-registration-with-closures 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/object-registration-with-closures2/.dirs/runtime 573s ok 3 /gdbus/object-registration-with-closures2 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/registered-interfaces/.dirs/runtime 573s ok 4 /gdbus/registered-interfaces 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/async-properties/.dirs/runtime 573s ok 5 /gdbus/async-properties 573s # Start of threaded-unregistration tests 573s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/home 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/cache 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/system-config2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/config 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/system-data2 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/data 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/state 573s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/object/.dirs/runtime 573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 573s # /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 574s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 574s # slow test /gdbus/threaded-unregistration/object executed in 0.83 secs 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_NFWJE3/gdbus/threaded-unregistration/subtree/.dirs/runtime 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 574s # /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 574s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 574s # slow test /gdbus/threaded-unregistration/subtree executed in 0.80 secs 574s # End of threaded-unregistration tests 574s # End of gdbus tests 574s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 574s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 574s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 574s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 574s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 574s ok - glib/gdbus-export.test 574s # Running test: glib/flags.test 574s TAP version 14 574s # random seed: R02S7882e12657f18cc8a7e6cbb386511b95 574s 1..1 574s ok - glib/flags.test 574s # Running test: glib/protocol.test 574s ok - glib/protocol.test 574s # Running test: glib/rand.test 574s ok - glib/rand.test 574s # Running test: glib/accumulator.test 574s ok - glib/accumulator.test 574s # Running test: glib/power-profile-monitor-dbus.test 574s # Start of gobject tests 574s # Start of flags tests 574s ok 1 /gobject/flags/validate 574s # End of flags tests 574s # End of gobject tests 574s TAP version 14 574s # random seed: R02S8f4eecb0c56dc3a50f2bb7e98bf0c3b5 574s 1..9 574s # Start of glib tests 574s # Start of testing tests 574s # Start of protocol tests 574s ok 1 /glib/testing/protocol/debug 574s ok 2 /glib/testing/protocol/info 574s ok 3 /glib/testing/protocol/message 574s ok 4 /glib/testing/protocol/warning 574s ok 5 /glib/testing/protocol/critical 574s ok 6 /glib/testing/protocol/error 574s ok 7 /glib/testing/protocol/gtest-message 574s ok 8 /glib/testing/protocol/test-message 574s ok 9 /glib/testing/protocol/test-error 574s # End of protocol tests 574s # End of testing tests 574s # End of glib tests 574s TAP version 14 574s # random seed: R02Sce03658128aaf8304b914701dc88a012 574s 1..2 574s # Start of rand tests 574s ok 1 /rand/test-rand 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 574s ok 2 /rand/double-range 574s # End of rand tests 574s TAP version 14 574s # random seed: R02S1a7cd6968a9c3bb0c2a5168c29cef593 574s 1..1 574s # Start of gobject tests 574s ok 1 /gobject/accumulator 574s # End of gobject tests 575s TAP version 13 575s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 575s 1..1 575s TAP version 14 575s # random seed: R02Sc1f1cbb99aad462f3957c701152c8bbe 575s 1..2 575s # Start of unix-fd tests 575s ok 1 /unix-fd/fd-list 575s ok 2 /unix-fd/scm 575s # End of unix-fd tests 575s TAP version 14 575s # random seed: R02S7ae8971cd8db901d4d3acc2443f4061d 575s 1..1 575s # Start of credentials tests 575s # GCredentials:linux-ucred:pid=5573,uid=1000,gid=1000 575s # GCredentials:linux-ucred:pid=5573,uid=0,gid=1000 575s ok 1 /credentials/basic 575s # End of credentials tests 575s ok - glib/power-profile-monitor-dbus.test 575s # Running test: glib/unix-fd.test 575s ok - glib/unix-fd.test 575s # Running test: glib/credentials.test 575s ok - glib/credentials.test 575s # Running test: glib/gdbus-connection-slow.test 575s TAP version 14 575s # random seed: R02Sbc2b64d94f5a05c0b24d8aa1dcb81c41 575s 1..2 575s # Start of gdbus tests 575s # Start of connection tests 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/flush/.dirs/runtime 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s ok 1 /gdbus/connection/flush 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_I6MKE3/gdbus/connection/large_message/.dirs/runtime 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 575s ok 2 /gdbus/connection/large_message 575s # End of connection tests 575s # End of gdbus tests 575s ok - glib/gdbus-connection-slow.test 575s # Running test: glib/memory-input-stream.test 575s ok - glib/memory-input-stream.test 575s TAP version 14 575s # random seed: R02Sfcca56332e582bd4cb06d025af92d9e4 575s 1..6 575s # Start of memory-input-stream tests 575s ok 1 /memory-input-stream/read-chunks 575s ok 2 /memory-input-stream/async 575s ok 3 /memory-input-stream/seek 575s ok 4 /memory-input-stream/truncate 575s ok 5 /memory-input-stream/read-bytes 575s ok 6 /memory-input-stream/from-bytes 575s # End of memory-input-stream tests 575s # Running test: glib/simple-proxy.test 575s TAP version 14 575s # random seed: R02S0f353bf0ef24f4418a6027f35f010d51 575s 1..3 575s # Start of static-proxy tests 575s ok 1 /static-proxy/uri 575s ok 2 /static-proxy/socks 575s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 575s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 575s ok - glib/simple-proxy.test 575s # Running test: glib/macros-c-99.test 575s ok - glib/macros-c-99.test 575s # Running test: glib/null-settings-backend.test 575s ok - glib/null-settings-backend.test 575s # Running test: glib/contenttype.test 575s ok 3 /static-proxy/ignore 575s # End of static-proxy tests 575s TAP version 14 575s # random seed: R02S90518b54d8f7fba318149ecc919bbe9b 575s 1..4 575s # Start of C tests 575s ok 1 /C/standard-99 575s # End of C tests 575s # Start of alignof tests 575s ok 2 /alignof/fallback 575s # End of alignof tests 575s # Start of assert tests 575s ok 3 /assert/static 575s # End of assert tests 575s # Start of struct tests 575s ok 4 /struct/sizeof_member 575s # End of struct tests 575s TAP version 14 575s # random seed: R02Se10a1835c34a54089eb3ae3981cab341 575s 1..1 575s # Start of null-settings-backend tests 575s ok 1 /null-settings-backend/extension-point-registered 575s # End of null-settings-backend tests 575s TAP version 14 575s # random seed: R02S06f32c790eb0051c57f798e7878843cb 575s 1..14 575s # Start of contenttype tests 575s ok - glib/contenttype.test 575s # Running test: glib/string.test 575s ok - glib/string.test 575s # Running test: glib/thread.test 575s ok - glib/thread.test 575s # Running test: glib/print.test 575s ok - glib/print.test 575s # Running test: glib/bitlock.test 575s ok - glib/bitlock.test 575s # Running test: glib/readwrite.test 575s ok - glib/readwrite.test 575s # Running test: glib/signals-refcount2.test 575s ok 1 /contenttype/guess 575s ok 2 /contenttype/guess_svg_from_data 575s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 575s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 575s ok 5 /contenttype/unknown 575s ok 6 /contenttype/subtype 575s ok 7 /contenttype/list 575s ok 8 /contenttype/executable 575s ok 9 /contenttype/description 575s ok 10 /contenttype/icon 575s ok 11 /contenttype/symbolic-icon 575s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 575s ok 12 /contenttype/tree 575s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 575s ok 13 /contenttype/tree_invalid_encoding 575s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 575s ok 14 /contenttype/test_type_is_a_special_case 575s # End of contenttype tests 575s TAP version 14 575s # random seed: R02S5e8db4d3faac80c78daab36e49289add 575s 1..25 575s # Start of string tests 575s ok 1 /string/chunks 575s ok 2 /string/chunk-insert 575s ok 3 /string/new 575s ok 4 /string/printf 575s ok 5 /string/assign 575s ok 6 /string/append-c 575s ok 7 /string/append 575s ok 8 /string/append-vprintf 575s ok 9 /string/prepend-c 575s ok 10 /string/prepend 575s ok 11 /string/insert 575s ok 12 /string/insert-unichar 575s ok 13 /string/equal 575s ok 14 /string/truncate 575s ok 15 /string/overwrite 575s ok 16 /string/nul-handling 575s ok 17 /string/up-down 575s ok 18 /string/set-size 575s ok 19 /string/to-bytes 575s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 575s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 575s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 575s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 575s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 575s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 575s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 575s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 575s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 575s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 575s # 5: Replacing "o" with "" (limit 0) in "food for foals" 575s # -> 4 replacements, "fd fr fals" 575s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 575s # -> 3 replacements, "aaaaaaaaa" 575s # 7: Replacing "a" with "" (limit 0) in "aaa" 575s # -> 3 replacements, "" 575s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 575s # -> 1 replacements, "bba" 575s # 9: Replacing "" with "bar" (limit 0) in "foo" 575s # -> 4 replacements, "barfbarobarobar" 575s # 10: Replacing "" with "bar" (limit 1) in "foo" 575s # -> 1 replacements, "barfoo" 575s # 11: Replacing "" with "bar" (limit 2) in "foo" 575s # -> 2 replacements, "barfbaroo" 575s # 12: Replacing "" with "bar" (limit 3) in "foo" 575s # -> 3 replacements, "barfbarobaro" 575s # 13: Replacing "" with "bar" (limit 4) in "foo" 575s # -> 4 replacements, "barfbarobarobar" 575s # 14: Replacing "" with "bar" (limit 5) in "foo" 575s # -> 4 replacements, "barfbarobarobar" 575s # 15: Replacing "" with "x" (limit 0) in "" 575s # -> 1 replacements, "x" 575s # 16: Replacing "" with "" (limit 0) in "" 575s # -> 1 replacements, "" 575s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 575s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 575s ok 20 /string/replace 575s ok 21 /string/steal 575s ok 22 /string/new-take 575s ok 23 /string/copy 575s ok 24 /string/sized-new 575s # Start of new-take tests 575s ok 25 /string/new-take/null 575s # End of new-take tests 575s # End of string tests 575s TAP version 14 575s # random seed: R02Sc2df97857ae7e62f41a5abe0f69da035 575s 1..7 575s # Start of thread tests 575s ok 1 /thread/thread1 575s ok 2 /thread/thread2 575s ok 3 /thread/thread3 575s ok 4 /thread/thread4 575s ok 5 /thread/thread5 575s ok 6 /thread/thread6 575s ok 7 /thread/thread7 575s # End of thread tests 575s TAP version 14 575s # random seed: R02Sddc838aba99423bffb4848bcfd7935e0 575s 1..1 575s ok 1 /print-console # SKIP Testing console output only supported on Windows 575s TAP version 14 575s # random seed: R02S5c7b6a7addd604ce7057f9d271270860 575s 1..2 575s # Start of bitlock tests 575s # Start of performance tests 575s # max perf: iterations per second 575s ok 1 /bitlock/performance/uncontended 575s ok 2 /bitlock/performance/parallel 575s # End of performance tests 575s # End of bitlock tests 575s TAP version 14 575s # random seed: R02S42778d1d32f277c49b1a32950be6038f 575s 1..3 575s # Start of readwrite tests 575s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 575s ok 1 /readwrite/test_g_file_open_readwrite 575s ok 2 /readwrite/test_g_file_create_readwrite 575s ok 3 /readwrite/test_g_file_replace_readwrite 575s # End of readwrite tests 575s TAP version 14 575s # random seed: R02S444e56ad894e32b1a867d625e3c61a69 575s 1..1 575s # Start of gobject tests 575s # Start of refcount tests 575s # init 0x2aa04870490 575s # 575s # init 0x2aa04868580 575s # 576s # Executing: glib/signals-refcount2.test 580s # dispose 0x2aa04870490! 580s # 580s # dispose 0x2aa04868580! 580s # 580s ok 1 /gobject/refcount/signals 580s # slow test /gobject/refcount/signals executed in 5.00 secs 580s # End of refcount tests 580s # End of gobject tests 580s ok - glib/signals-refcount2.test 580s # Running test: glib/threadtests.test 580s TAP version 14 580s # random seed: R02Scb8cc903fe1b3eaaa866efc9af5daad9 580s 1..5 580s # Start of GObject tests 580s ok 1 /GObject/threaded-object-init 581s ok 2 /GObject/threaded-weak-ref 581s # slow test /GObject/threaded-weak-ref executed in 0.79 secs 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 581s # /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 581s ok 3 /GObject/threaded-toggle-notify 581s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 581s # Start of threaded-weak-ref tests 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 581s # /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. 581s ok 5 /GObject/threaded-weak-ref/on-finalization 581s # End of threaded-weak-ref tests 581s # End of GObject tests 581s ok - glib/threadtests.test 581s # Running test: glib/gdbus-test-codegen-old.test 581s TAP version 14 581s # random seed: R02S640b959c42a79cd0df7c28a7105cd5d8 581s 1..8 581s # Start of gdbus tests 581s # Start of codegen tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/annotations/.dirs/runtime 581s ok 1 /gdbus/codegen/annotations 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/interface_stability/.dirs/runtime 581s ok 2 /gdbus/codegen/interface_stability 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/object-manager/.dirs/runtime 581s ok 3 /gdbus/codegen/object-manager 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/property-naming/.dirs/runtime 581s ok 4 /gdbus/codegen/property-naming 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/autocleanups/.dirs/runtime 581s ok 5 /gdbus/codegen/autocleanups 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/deprecations/.dirs/runtime 581s ok 6 /gdbus/codegen/deprecations 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 581s ok 7 /gdbus/codegen/standalone-interface-info 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 581s ok - glib/gdbus-test-codegen-old.test 581s # Running test: glib/tls-bindings.test 581s ok - glib/tls-bindings.test 581s # Running test: glib/date.test 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_F7ZNE3/gdbus/codegen/unix-fd-list/.dirs/runtime 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 581s ok 8 /gdbus/codegen/unix-fd-list 581s # End of codegen tests 581s # End of gdbus tests 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s TAP version 14 581s # random seed: R02Scd6228f367115c6df18e0b7b8b093fdd 581s 1..2 581s # Start of tls-connection tests 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 581s ok 1 /tls-connection/get-tls-channel-binding 581s ok 2 /tls-connection/get-dtls-channel-binding 581s # End of tls-connection tests 581s TAP version 14 581s # random seed: R02S5eedc304126daab70ee95b8f872a2884 581s 1..122 581s # Start of date tests 581s ok 1 /date/basic 581s ok 2 /date/empty 581s ok 3 /date/dmy 581s ok 4 /date/julian 581s ok 5 /date/compare 581s ok 6 /date/dates 581s ok 7 /date/strftime 581s ok 8 /date/two-digit-years 581s ok 9 /date/parse 581s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 581s ok 11 /date/month_substring 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 581s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 581s ok 13 /date/clamp 581s ok 14 /date/order 581s ok 15 /date/copy 581s # Vector 0: 0000-00-00, invalid 581s # Vector 1: 0001-01-01, valid 581s # Vector 2: 0000-01-01, invalid 581s # Vector 3: 2000-02-30, invalid 581s # Vector 4: 2000-02-29, valid 581s # Vector 5: 2001-02-29, invalid 581s # Vector 6: 65535-01-01, valid 581s ok 16 /date/valid-dmy 581s # Considering 2000-01-01 581s # Considering 2000-01-07 581s # Considering 2000-01-08 581s # Considering 2001-01-01 581s # Considering 2001-01-07 581s # Considering 2001-01-08 581s # Considering 2002-01-01 581s # Considering 2002-01-07 581s # Considering 2002-01-08 581s # Considering 2003-01-01 581s # Considering 2003-01-07 581s # Considering 2003-01-08 581s # Considering 2004-01-01 581s # Considering 2004-01-07 581s # Considering 2004-01-08 581s # Considering 2006-01-01 581s # Considering 2006-01-07 581s # Considering 2006-01-08 581s # Considering 2010-01-01 581s # Considering 2010-01-07 581s # Considering 2010-01-08 581s ok 17 /date/week-of-year 581s # Start of parse tests 581s # Test 0 581s # Test 1 581s ok 18 /date/parse/invalid 581s # End of parse tests 581s # Start of year tests 581s ok 19 /date/year/1 581s ok 20 /date/year/2 581s ok 21 /date/year/3 581s ok 22 /date/year/4 581s ok 23 /date/year/5 581s ok 24 /date/year/6 581s ok 25 /date/year/7 581s ok 26 /date/year/8 581s ok 27 /date/year/9 581s ok 28 /date/year/10 581s ok 29 /date/year/11 581s # Executing: glib/date.test 581s ok 30 /date/year/12 581s ok 31 /date/year/13 581s ok 32 /date/year/14 581s ok 33 /date/year/98 581s ok 34 /date/year/99 581s ok 35 /date/year/100 581s ok 36 /date/year/101 581s ok 37 /date/year/102 581s ok 38 /date/year/103 581s ok 39 /date/year/397 581s ok 40 /date/year/398 581s ok 41 /date/year/399 581s ok 42 /date/year/400 581s ok 43 /date/year/401 581s ok 44 /date/year/402 581s ok 45 /date/year/403 581s ok 46 /date/year/404 581s ok 47 /date/year/405 581s ok 48 /date/year/406 581s ok 49 /date/year/1598 581s ok 50 /date/year/1599 581s ok 51 /date/year/1600 581s ok 52 /date/year/1601 581s ok 53 /date/year/1602 581s ok 54 /date/year/1650 581s ok 55 /date/year/1651 581s ok 56 /date/year/1897 581s ok 57 /date/year/1898 581s ok 58 /date/year/1899 581s ok 59 /date/year/1900 581s ok 60 /date/year/1901 581s ok 61 /date/year/1902 581s ok 62 /date/year/1903 581s ok 63 /date/year/1961 581s ok 64 /date/year/1962 581s ok 65 /date/year/1963 581s ok 66 /date/year/1964 581s ok 67 /date/year/1965 581s ok 68 /date/year/1967 581s ok 69 /date/year/1968 581s ok 70 /date/year/1969 581s ok 71 /date/year/1970 581s ok 72 /date/year/1971 581s ok 73 /date/year/1972 581s ok 74 /date/year/1973 581s ok 75 /date/year/1974 581s ok 76 /date/year/1975 581s ok 77 /date/year/1976 581s ok 78 /date/year/1977 581s ok 79 /date/year/1978 581s ok 80 /date/year/1979 581s ok 81 /date/year/1980 581s ok 82 /date/year/1981 581s ok 83 /date/year/1982 581s ok 84 /date/year/1983 581s ok 85 /date/year/1984 581s ok 86 /date/year/1985 581s ok 87 /date/year/1986 581s ok 88 /date/year/1987 581s ok 89 /date/year/1988 581s ok 90 /date/year/1989 581s ok 91 /date/year/1990 581s ok 92 /date/year/1991 581s ok 93 /date/year/1992 581s ok 94 /date/year/1993 581s ok 95 /date/year/1994 581s ok 96 /date/year/1995 581s ok 97 /date/year/1996 581s ok 98 /date/year/1997 581s ok 99 /date/year/1998 581s ok 100 /date/year/1999 581s ok 101 /date/year/2000 581s ok 102 /date/year/2001 581s ok 103 /date/year/2002 581s ok 104 /date/year/2003 581s ok 105 /date/year/2004 581s ok 106 /date/year/2005 581s ok 107 /date/year/2006 581s ok 108 /date/year/2007 581s ok 109 /date/year/2008 581s ok 110 /date/year/2009 581s ok 111 /date/year/2010 581s ok 112 /date/year/2011 581s ok 113 /date/year/2012 581s ok 114 /date/year/3000 581s ok 115 /date/year/3001 581s ok 116 /date/year/3002 581s ok 117 /date/year/3998 581s ok 118 /date/year/3999 581s ok 119 /date/year/4000 581s ok 120 /date/year/4001 581s ok 121 /date/year/4002 581s ok 122 /date/year/4003 581s # End of year tests 581s # End of date tests 581s ok - glib/date.test 581s # Running test: glib/memory-monitor-psi.test 581s TAP version 14 581s # random seed: R02S9d21119b59fe4a87d1104606b73433b6 581s 1..1 581s # Start of memory-monitor-psi tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_C3GSE3/memory-monitor-psi/receive-signal/.dirs/runtime 581s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 581s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 581s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 581s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 581s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 581s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 581s ok 1 /memory-monitor-psi/receive-signal 581s # End of memory-monitor-psi tests 581s ok - glib/memory-monitor-psi.test 581s # Running test: glib/markup-collect.test 581s TAP version 14 581s # random seed: R02S72f596112d298c12d284aa1eac037caf 581s 1..21 581s # Start of markup tests 581s # Start of collect tests 581s ok 1 /markup/collect/0 581s ok 2 /markup/collect/1 581s ok 3 /markup/collect/2 581s ok 4 /markup/collect/3 581s ok 5 /markup/collect/4 581s ok 6 /markup/collect/5 581s ok 7 /markup/collect/6 581s ok 8 /markup/collect/7 581s ok 9 /markup/collect/8 581s ok 10 /markup/collect/9 581s ok 11 /markup/collect/10 581s ok 12 /markup/collect/11 581s ok 13 /markup/collect/12 581s ok 14 /markup/collect/13 581s ok 15 /markup/collect/14 581s ok 16 /markup/collect/15 581s ok 17 /markup/collect/16 581s ok 18 /markup/collect/17 581s ok 19 /markup/collect/18 581s ok 20 /markup/collect/19 581s ok 21 /markup/collect/cleanup 581s # End of collect tests 581s # End of markup tests 581s ok - glib/markup-collect.test 581s # Running test: glib/io-channel.test 581s TAP version 14 581s # random seed: R02S459872195ab83af0746a659a178d7fb3 581s 1..2 581s # Start of io-channel tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_P4PSE3/io-channel/read-write/.dirs/runtime 581s # Line one 581s # 581s # Line two 581s # 581s # Line three 581s # 581s # /* Hello */ 581s # 581s # \x1234\x567890\x6666 581s # 581s # read 62 bytes, wrote 62 bytes 581s ok 1 /io-channel/read-write 581s # Start of read-line tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_P4PSE3/io-channel/read-line/embedded-nuls/.dirs/runtime 581s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 581s ok 2 /io-channel/read-line/embedded-nuls 581s # End of read-line tests 581s # End of io-channel tests 581s ok - glib/io-channel.test 581s # Running test: glib/union-info.test 581s TAP version 14 581s # random seed: R02Sc6b3b67382792b63c30bbc543e929191 581s 1..2 581s # Start of union-info tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_6GMSE3/union-info/basic/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_6GMSE3/union-info/basic/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6GMSE3/union-info/basic/.dirs/runtime 581s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 581s # /union-info/basic summary: Test basic properties of GIUnionInfo 581s ok 1 /union-info/basic 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_6GMSE3/union-info/methods/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_6GMSE3/union-info/methods/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6GMSE3/union-info/methods/.dirs/runtime 581s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 581s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 581s ok 2 /union-info/methods 581s # End of union-info tests 581s ok - glib/union-info.test 581s TAP version 14 581s # random seed: R02Sbb5ae279796028f230395b248bbd9d28 581s 1..7 581s # Start of tree tests 581s ok 1 /tree/search 581s ok 2 /tree/remove 581s ok 3 /tree/destroy 581s ok 4 /tree/traverse 581s ok 5 /tree/insert 581s ok 6 /tree/bounds 581s ok 7 /tree/remove-all 581s # End of tree tests 581s # Running test: glib/tree.test 581s ok - glib/tree.test 581s # Running test: glib/utils-isolated.test 581s TAP version 14 581s # random seed: R02Sd8eff386c5f964f31913d3ebc05d445f 581s 1..11 581s # Start of utils-isolated tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/tmp-dir/.dirs/runtime 581s ok 1 /utils-isolated/tmp-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/home-dir/.dirs/runtime 581s ok 2 /utils-isolated/home-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-cache-dir/.dirs/runtime 581s ok 3 /utils-isolated/user-cache-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-config-dirs/.dirs/runtime 581s ok 4 /utils-isolated/system-config-dirs 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-config-dir/.dirs/runtime 581s ok 5 /utils-isolated/user-config-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/system-data-dirs/.dirs/runtime 581s ok 6 /utils-isolated/system-data-dirs 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-data-dir/.dirs/runtime 581s ok 7 /utils-isolated/user-data-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-state-dir/.dirs/runtime 581s ok 8 /utils-isolated/user-state-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/user-runtime-dir/.dirs/runtime 581s ok 9 /utils-isolated/user-runtime-dir 581s # Start of cleanup tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/runtime 581s Unable to clean up temporary directory /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 581s Unable to clean up temporary directory /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 581s Unable to clean up temporary directory /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/handles-errors: Directory not empty 581s ok 10 /utils-isolated/cleanup/handles-errors 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 581s Unable to clean up temporary directory /tmp/test_utils-isolated_VSF3E3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 581s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 581s # End of cleanup tests 581s # End of utils-isolated tests 581s TAP version 14 581s # random seed: R02S3c296f532bcdf4f4aef02497cefa9fb6 581s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 581s ok - glib/utils-isolated.test 581s # Running test: glib/gdbus-threading.test 581s ok - glib/gdbus-threading.test 581s # Running test: glib/memchunk.test 581s TAP version 14 581s # random seed: R02S786ee688fb7a4c606b3283d4499e5d6f 581s 1..1 581s # Start of memchunk tests 581s ok 1 /memchunk/basic 581s # End of memchunk tests 581s ok - glib/memchunk.test 581s # Running test: glib/file.test 581s TAP version 14 581s # random seed: R02S2b0018a21333d52bd2221a50a4034757 581s 1..55 581s # Start of file tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/basic/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/basic/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/basic/.dirs/system-config1:/tmp/test_file_W1K3E3/file/basic/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/basic/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/basic/.dirs/system-data1:/tmp/test_file_W1K3E3/file/basic/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/basic/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/basic/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/basic/.dirs/runtime 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 581s ok 1 /file/basic 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/build-filename/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/build-filename/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/build-filename/.dirs/system-config1:/tmp/test_file_W1K3E3/file/build-filename/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/build-filename/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/build-filename/.dirs/system-data1:/tmp/test_file_W1K3E3/file/build-filename/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/build-filename/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/build-filename/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/build-filename/.dirs/runtime 581s ok 2 /file/build-filename 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_W1K3E3/file/build-filenamev/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_W1K3E3/file/build-filenamev/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/build-filenamev/.dirs/runtime 581s ok 3 /file/build-filenamev 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/parent/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/parent/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/parent/.dirs/system-config1:/tmp/test_file_W1K3E3/file/parent/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/parent/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/parent/.dirs/system-data1:/tmp/test_file_W1K3E3/file/parent/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/parent/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/parent/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/parent/.dirs/runtime 581s ok 4 /file/parent 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/child/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/child/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/child/.dirs/system-config1:/tmp/test_file_W1K3E3/file/child/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/child/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/child/.dirs/system-data1:/tmp/test_file_W1K3E3/file/child/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/child/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/child/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/child/.dirs/runtime 581s ok 5 /file/child 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/empty-path/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/empty-path/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/empty-path/.dirs/system-config1:/tmp/test_file_W1K3E3/file/empty-path/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/empty-path/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/empty-path/.dirs/system-data1:/tmp/test_file_W1K3E3/file/empty-path/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/empty-path/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/empty-path/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/empty-path/.dirs/runtime 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 581s # /file/empty-path summary: Check that creating a file with an empty path results in errors 581s ok 6 /file/empty-path 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/type/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/type/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/type/.dirs/system-config1:/tmp/test_file_W1K3E3/file/type/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/type/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/type/.dirs/system-data1:/tmp/test_file_W1K3E3/file/type/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/type/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/type/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/type/.dirs/runtime 581s ok 7 /file/type 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/parse-name/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/parse-name/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/parse-name/.dirs/system-config1:/tmp/test_file_W1K3E3/file/parse-name/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/parse-name/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/parse-name/.dirs/system-data1:/tmp/test_file_W1K3E3/file/parse-name/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/parse-name/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/parse-name/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/parse-name/.dirs/runtime 581s ok 8 /file/parse-name 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace-load/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace-load/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace-load/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace-load/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace-load/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace-load/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace-load/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace-load/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace-load/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace-load/.dirs/runtime 581s ok 9 /file/replace-load 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace-cancel/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace-cancel/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace-cancel/.dirs/runtime 581s # Bug Reference: https://bugzilla.gnome.org/629301 581s ok 10 /file/replace-cancel 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace-symlink/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace-symlink/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace-symlink/.dirs/runtime 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 581s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 581s # Using temporary directory /tmp/test_file_W1K3E3/g_file_replace_symlink_XP22E3 581s ok 11 /file/replace-symlink 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-new-tmp/.dirs/runtime 581s ok 12 /file/async-new-tmp 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-new-tmp-dir/.dirs/runtime 581s ok 13 /file/async-new-tmp-dir 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-delete/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-delete/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-delete/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-delete/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-delete/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-delete/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-delete/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-delete/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-delete/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-delete/.dirs/runtime 581s ok 14 /file/async-delete 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-make-symlink/.dirs/runtime 581s ok 15 /file/async-make-symlink 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/copy-preserve-mode/.dirs/runtime 581s # Current umask: 2 581s # Vector 0 581s # Vector 1 581s # Vector 2 581s # Vector 3 581s # Vector 4 581s # Vector 5 581s # Vector 6 581s # Vector 7 581s # Vector 8 581s # Vector 9 581s # Vector 10 581s ok 16 /file/copy-preserve-mode 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/copy-async-with-closures/.dirs/runtime 581s ok 17 /file/copy-async-with-closures 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/measure/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/measure/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/measure/.dirs/system-config1:/tmp/test_file_W1K3E3/file/measure/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/measure/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/measure/.dirs/system-data1:/tmp/test_file_W1K3E3/file/measure/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/measure/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/measure/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/measure/.dirs/runtime 581s ok 18 /file/measure 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/measure-async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/measure-async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/measure-async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/measure-async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/measure-async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/measure-async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/measure-async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/measure-async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/measure-async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/measure-async/.dirs/runtime 581s ok 19 /file/measure-async 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/system-config1:/tmp/test_file_W1K3E3/file/load-bytes/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/system-data1:/tmp/test_file_W1K3E3/file/load-bytes/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/load-bytes/.dirs/runtime 581s ok 20 /file/load-bytes 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/load-bytes-async/.dirs/runtime 581s ok 21 /file/load-bytes-async 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/load-bytes-4gb/.dirs/runtime 581s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/load-contents-4gb/.dirs/runtime 581s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/load-contents-4gb-async/.dirs/runtime 581s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/.dirs/runtime 581s ok 25 /file/writev 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/build-attribute-list-for-copy/.dirs/runtime 581s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 581s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 581s # 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::* 581s # 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::* 581s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 581s # Attributes for copy: standard::size,xattr::* 581s # Attributes for copy: standard::size,unix::mode,xattr::* 581s ok 26 /file/build-attribute-list-for-copy 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/move_async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/move_async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/move_async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/move_async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/move_async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/move_async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/move_async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/move_async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/move_async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/move_async/.dirs/runtime 581s ok 27 /file/move_async 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/move-async-with-closures/.dirs/runtime 581s ok 28 /file/move-async-with-closures 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/query-zero-length-content-type/.dirs/runtime 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 581s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 581s ok 29 /file/query-zero-length-content-type 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/runtime 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/data/applications 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/config 581s ok 30 /file/query-default-handler-file 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/runtime 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/data/applications 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config 581s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_W1K3E3/file/query-default-handler-file/.dirs/config to /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config 581s ok 31 /file/query-default-handler-file-async 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/runtime 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/data/applications 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config 581s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_W1K3E3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config 581s ok 32 /file/query-default-handler-uri 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/runtime 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/data/applications 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/config 581s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_W1K3E3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/config 581s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_W1K3E3/file/query-default-handler-uri-async/.dirs/config 581s ok 33 /file/query-default-handler-uri-async 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/enumerator-cancellation/.dirs/runtime 581s ok 34 /file/enumerator-cancellation 581s # Start of async-create-delete tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-create-delete/0/.dirs/runtime 581s ok 35 /file/async-create-delete/0 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-create-delete/1/.dirs/runtime 581s ok 36 /file/async-create-delete/1 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-create-delete/10/.dirs/runtime 582s ok 37 /file/async-create-delete/10 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-create-delete/25/.dirs/runtime 582s ok 38 /file/async-create-delete/25 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/async-create-delete/4096/.dirs/runtime 582s ok 39 /file/async-create-delete/4096 582s # End of async-create-delete tests 582s # Start of replace-symlink tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace-symlink/using-etag/.dirs/runtime 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 582s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 582s # Using temporary directory /tmp/test_file_W1K3E3/g_file_replace_symlink_using_etag_2CXJE3 584s ok 40 /file/replace-symlink/using-etag 584s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 584s # End of replace-symlink tests 584s # Start of replace tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace/write-only/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace/write-only/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace/write-only/.dirs/runtime 584s # /file/replace/write-only summary: Test various situations for g_file_replace() 584s # Current umask: 2 584s # Test 0, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_57UJE3 584s # Test 1, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_GJUJE3 584s # Test 2, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_CBTJE3 584s # Test 3, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_WYFJE3 584s # Test 4, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_91FJE3 584s # Test 5, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_K5FJE3 584s # Test 6, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_PAEJE3 584s # Test 7, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_U3CJE3 584s # Test 8, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_C7CJE3 584s # Test 9, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_HDDJE3 584s # Test 10, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_JXBJE3 584s # Test 11, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_6GBJE3 584s # Test 12, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_1RAJE3 584s # Test 13, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_IVAJE3 584s # Test 14, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_8UMJE3 584s # Test 15, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_KLLJE3 584s # Test 16, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_W7JJE3 584s # Test 17, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_S2IJE3 584s # Test 18, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_3GIJE3 584s # Test 19, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_E3GJE3 584s # Test 20, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_WY3IE3 584s # Test 21, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_FK2IE3 584s # Test 22, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_AG1IE3 584s # Test 23, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_8H1IE3 584s # Test 24, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_S3ZIE3 584s # Test 25, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_6YYIE3 584s # Test 26, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_Q2YIE3 584s # Test 27, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_D5YIE3 584s # Test 28, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_D7XIE3 584s # Test 29, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_R99IE3 584s # Test 30, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_CL9IE3 584s # Test 31, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_AR9IE3 584s # Test 32, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_S38IE3 584s # Test 33, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_XU7IE3 584s # Test 34, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_LY7IE3 584s # Test 35, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_IX7IE3 584s # Test 36, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_HK6IE3 584s # Test 37, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_684IE3 584s # Test 38, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_VR4IE3 584s # Test 39, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_JQQIE3 584s # Test 40, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_55PIE3 584s # Test 41, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_0VOIE3 584s # Test 42, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_2MNIE3 584s # Test 43, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_RDMIE3 584s # Test 44, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_2VLIE3 584s # Test 45, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_N6KIE3 584s # Test 46, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_K8WIE3 584s # Test 47, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_JBXIE3 584s # Test 48, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_FWVIE3 584s # We do not have CAP_DAC_OVERRIDE or equivalent 584s ok 41 /file/replace/write-only 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_W1K3E3/file/replace/read-write/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_W1K3E3/file/replace/read-write/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/replace/read-write/.dirs/runtime 584s # /file/replace/read-write summary: Test various situations for g_file_replace() 584s # Current umask: 2 584s # Test 0, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_1FVIE3 584s # Test 1, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_PEVIE3 584s # Test 2, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_VYUIE3 584s # Test 3, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_DRTIE3 584s # Test 4, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_J2SIE3 584s # Test 5, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_Z5SIE3 584s # Test 6, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_UWRIE3 584s # Test 7, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_HSEIE3 584s # Test 8, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_T3DIE3 584s # Test 9, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_X1DIE3 584s # Test 10, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_SMDIE3 584s # Test 11, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_69BIE3 584s # Test 12, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_IECIE3 584s # Test 13, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_POBIE3 584s # Test 14, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_H6AIE3 584s # Test 15, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_SBAIE3 584s # Test 16, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_BY8HE3 584s # Test 17, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_YFKIE3 584s # Test 18, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_MTJIE3 584s # Test 19, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_8JIIE3 584s # Test 20, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_FDHIE3 584s # Test 21, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_92FIE3 584s # Test 22, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_SHFIE3 584s # Test 23, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_1GFIE3 584s # Test 24, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_IL1HE3 584s # Test 25, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_9D0HE3 584s # Test 26, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_DI0HE3 584s # Test 27, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_AH0HE3 584s # Test 28, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_31YHE3 584s # Test 29, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_YDYHE3 584s # Test 30, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_WHYHE3 584s # Test 31, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_PNYHE3 584s # Test 32, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_87WHE3 584s # Test 33, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_70VHE3 584s # Test 34, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_D9VHE3 584s # Test 35, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_78VHE3 584s # Test 36, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_YP7HE3 584s # Test 37, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_3B6HE3 584s # Test 38, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_LQ5HE3 584s # Test 39, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_BT4HE3 584s # Test 40, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_W33HE3 584s # Test 41, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_GQ2HE3 584s # Test 42, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_2VOHE3 584s # Test 43, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_6EOHE3 584s # Test 44, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_H5MHE3 584s # Test 45, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_GJMHE3 584s # Test 46, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_90LHE3 584s # Test 47, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_PZLHE3 584s # Test 48, using temporary directory /tmp/test_file_W1K3E3/g_file_replace_2NKHE3 584s # We do not have CAP_DAC_OVERRIDE or equivalent 584s ok 42 /file/replace/read-write 584s # End of replace tests 584s # Start of copy tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/system-config1:/tmp/test_file_W1K3E3/file/copy/progress/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/system-data1:/tmp/test_file_W1K3E3/file/copy/progress/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/copy/progress/.dirs/runtime 584s ok 43 /file/copy/progress 584s # End of copy tests 584s # Start of writev tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/no-bytes-written/.dirs/runtime 584s ok 44 /file/writev/no-bytes-written 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/no-vectors/.dirs/runtime 584s ok 45 /file/writev/no-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/home 584s ok - glib/file.test 584s # Running test: glib/portal-support-snap.test 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/empty-vectors/.dirs/runtime 584s ok 46 /file/writev/empty-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/too-big-vectors/.dirs/runtime 584s ok 47 /file/writev/too-big-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async/.dirs/runtime 584s ok 48 /file/writev/async 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async_all/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async_all/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async_all/.dirs/runtime 584s ok 49 /file/writev/async_all 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async_all-empty-vectors/.dirs/runtime 584s ok 50 /file/writev/async_all-empty-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async_all-no-vectors/.dirs/runtime 584s ok 51 /file/writev/async_all-no-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async_all-to-big-vectors/.dirs/runtime 584s ok 52 /file/writev/async_all-to-big-vectors 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/writev/async_all-cancellation/.dirs/runtime 584s ok 53 /file/writev/async_all-cancellation 584s # End of writev tests 584s # Start of from-uri tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/from-uri/ignores-query-string/.dirs/runtime 584s ok 54 /file/from-uri/ignores-query-string 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_W1K3E3/file/from-uri/ignores-fragment/.dirs/runtime 584s ok 55 /file/from-uri/ignores-fragment 584s # End of from-uri tests 584s # End of file tests 584s TAP version 14 584s # random seed: R02S737b34530a5414cc3be93baa534e674a 584s 1..7 584s # Start of portal-support tests 584s # Start of snap tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/no-snapctl: No such file or directory 584s ok 1 /portal-support/snap/no-snapctl 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/none: No such file or directory 584s ok 2 /portal-support/snap/none 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/all: No such file or directory 584s ok 3 /portal-support/snap/all 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/desktop-only: No such file or directory 584s ok 4 /portal-support/snap/desktop-only 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/network-only: No such file or directory 584s ok 5 /portal-support/snap/network-only 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/gsettings-only: No such file or directory 584s ok 6 /portal-support/snap/gsettings-only 584s ok - glib/portal-support-snap.test 584s # Running test: glib/timeout.test 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime 584s # Created snap.yaml in /tmp/test_portal-support-snap_A3RHE3/meta/snap.yaml 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s # Created snapctl in /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3/portal-support/snap/updates-dynamically: No such file or directory 584s ok 7 /portal-support/snap/updates-dynamically 584s # End of snap tests 584s # End of portal-support tests 584s Unable to clean up temporary directory /tmp/test_portal-support-snap_A3RHE3: No such file or directory 584s TAP version 14 584s # random seed: R02Sb491019ee21d12368e1d8fd9631d4d78 584s 1..5 584s # Start of timeout tests 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 586s ok 1 /timeout/seconds 586s # slow test /timeout/seconds executed in 2.10 secs 586s # Executing: glib/timeout.test 588s ok 2 /timeout/seconds-once 588s # slow test /timeout/seconds-once executed in 2.10 secs 588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 590s ok 3 /timeout/weeks-overflow 590s # slow test /timeout/weeks-overflow executed in 2.10 secs 590s ok 4 /timeout/far-future-ready-time 591s # Executing: glib/timeout.test 596s # Executing: glib/timeout.test 600s ok 5 /timeout/rounding 600s # slow test /timeout/rounding executed in 10.04 secs 600s # End of timeout tests 600s ok - glib/timeout.test 600s # Running test: glib/atomic.test 600s TAP version 14 600s # random seed: R02S24cf881c157d36bcc50cd90e63b179bd 600s 1..2 600s # Start of atomic tests 600s ok 1 /atomic/types 600s ok - glib/atomic.test 600s ok 2 /atomic/threaded 600s # End of atomic tests 600s # Running test: glib/trash.test 600s TAP version 14 600s # random seed: R02Sdc6df3b2ca8f879b71d096c80c8fcd0f 600s ok - glib/trash.test 600s # Running test: glib/collate.test 600s ok - glib/collate.test 600s # Running test: glib/refstring.test 600s 1..3 600s # Start of trash tests 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 600s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 600s # File: /tmp/test-trash50JUE3 (parent st_dev: 64769) 600s # Home: /home/ubuntu (st_dev: 64769) 600s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 600s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 600s ok 3 /trash/long-filename 600s # End of trash tests 600s TAP version 14 600s # random seed: R02S4d3b7bf7ed539f765eda3514e1e96362 600s 1..9 600s # Start of unicode tests 600s # Start of collate tests 600s ok 1 /unicode/collate/0 600s ok 2 /unicode/collate/1 600s ok 3 /unicode/collate/2 600s # End of collate tests 600s # Start of collate-key tests 600s ok 4 /unicode/collate-key/0 600s ok 5 /unicode/collate-key/1 600s ok 6 /unicode/collate-key/2 600s # End of collate-key tests 600s # Start of collate-filename tests 600s ok 7 /unicode/collate-filename/0 600s ok 8 /unicode/collate-filename/1 600s ok 9 /unicode/collate-filename/2 600s # End of collate-filename tests 600s # End of unicode tests 600s TAP version 14 600s # random seed: R02S6b42dd06969fae130550458b864c8811 600s 1..8 600s # Start of refstring tests 600s # s = 'hello, world' (0x2aa2ef672b0) 600s ok 1 /refstring/base 600s ok 2 /refstring/length 600s ok 3 /refstring/length-auto 600s ok 4 /refstring/length-nuls 600s # s = 'hello, world' (0x2aa2ef67150) 600s # p = s = 'hello, world' (0x2aa2ef67150) 600s # releasing p[0x2aa2ef67150] ('hello, world') 600s # p = 'goodbye, world' (0x2aa2ef672b0) 600s # releasing p[0x2aa2ef672b0] ('goodbye, world') 600s # releasing s[0x2aa2ef67150] ('hello, world') 600s ok 5 /refstring/intern 600s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 600s ok 6 /refstring/hash_equal 600s # /refstring/equal summary: Test g_ref_string_equal() standalone 600s ok 7 /refstring/equal 601s ok 8 /refstring/intern-thread-safety 601s # End of refstring tests 601s ok - glib/refstring.test 601s # Running test: glib/tls-interaction.test 601s TAP version 14 601s # random seed: R02S15fc221c4ab984dab2ea94c3093fec58 601s 1..42 601s # Start of tls-interaction tests 601s # Start of ask-password tests 601s # Start of invoke-with-loop tests 601s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 601s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 601s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 601s ok - glib/tls-interaction.test 601s # Running test: glib/gdbus-auth.test 601s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 601s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 601s # End of invoke-with-loop tests 601s # Start of invoke-without-loop tests 601s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 601s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 601s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 601s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 601s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 601s # End of invoke-without-loop tests 601s # Start of invoke-in-loop tests 601s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 601s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 601s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 601s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 601s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 601s # End of invoke-in-loop tests 601s # Start of sync tests 601s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 601s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 601s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 601s # End of sync tests 601s # Start of async tests 601s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 601s ok 20 /tls-interaction/ask-password/async/async-implementation-success 601s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 601s # End of async tests 601s # End of ask-password tests 601s # Start of request-certificate tests 601s # Start of invoke-with-loop tests 601s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 601s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 601s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 601s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 601s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 601s # End of invoke-with-loop tests 601s # Start of invoke-without-loop tests 601s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 601s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 601s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 601s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 601s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 601s # End of invoke-without-loop tests 601s # Start of invoke-in-loop tests 601s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 601s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 601s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 601s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 601s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 601s # End of invoke-in-loop tests 601s # Start of sync tests 601s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 601s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 601s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 601s # End of sync tests 601s # Start of async tests 601s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 601s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 601s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 601s # End of async tests 601s # End of request-certificate tests 601s # End of tls-interaction tests 601s TAP version 14 601s # random seed: R02S4ae507fb40f69c77670bf4b54a3f507e 601s 1..5 601s # Start of gdbus tests 601s # Start of auth tests 601s # Start of client tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/EXTERNAL/.dirs/runtime 601s ok 1 /gdbus/auth/client/EXTERNAL 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 601s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 601s # End of client tests 601s # Start of server tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 601s ok 3 /gdbus/auth/server/ANONYMOUS 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/home 601s ok - glib/gdbus-auth.test 601s # Running test: glib/fileattributematcher.test 601s ok - glib/fileattributematcher.test 601s # Running test: glib/bookmarkfile.test 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/EXTERNAL/.dirs/runtime 601s ok 4 /gdbus/auth/server/EXTERNAL 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_97BLE3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 601s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 601s # End of server tests 601s # End of auth tests 601s # End of gdbus tests 601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 601s TAP version 14 601s # random seed: R02S99360c0b70300dae8a10d9c88ead3c78 601s 1..3 601s # Start of fileattributematcher tests 601s ok 1 /fileattributematcher/exact 601s ok 2 /fileattributematcher/equality 601s ok 3 /fileattributematcher/subtract 601s # End of fileattributematcher tests 601s TAP version 14 601s # random seed: R02Se46ddcdd492c73d0258166d632ccd8ed 601s 1..96 601s # Start of bookmarks tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/load-from-data-dirs/.dirs/runtime 601s ok 1 /bookmarks/load-from-data-dirs 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/to-file/.dirs/runtime 601s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_HKSKE3/bookmarkfile-test-C7RKE3.xbel 601s # Roundtrip from a valid bookmark file 601s ok 2 /bookmarks/to-file 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/move-item/.dirs/runtime 601s ok 3 /bookmarks/move-item 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/corner-cases/.dirs/runtime 601s ok 4 /bookmarks/corner-cases 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/misc/.dirs/runtime 601s ok 5 /bookmarks/misc 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/deprecated/.dirs/runtime 601s ok 6 /bookmarks/deprecated 601s # Start of parse tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-14.xbel/.dirs/runtime 601s ok 7 /bookmarks/parse/fail-14.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-21.xbel/.dirs/runtime 601s ok 8 /bookmarks/parse/fail-21.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-17.xbel/.dirs/runtime 601s ok 9 /bookmarks/parse/fail-17.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-37.xbel/.dirs/runtime 601s ok 10 /bookmarks/parse/fail-37.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-34.xbel/.dirs/runtime 601s ok 11 /bookmarks/parse/fail-34.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-06.xbel/.dirs/runtime 601s ok 12 /bookmarks/parse/fail-06.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-30.xbel/.dirs/runtime 601s ok 13 /bookmarks/parse/fail-30.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-01.xbel/.dirs/runtime 601s ok 14 /bookmarks/parse/fail-01.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-39.xbel/.dirs/runtime 601s ok 15 /bookmarks/parse/fail-39.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-23.xbel/.dirs/runtime 601s ok 16 /bookmarks/parse/fail-23.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-32.xbel/.dirs/runtime 601s ok 17 /bookmarks/parse/fail-32.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-26.xbel/.dirs/runtime 601s ok 18 /bookmarks/parse/fail-26.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-12.xbel/.dirs/runtime 601s ok 19 /bookmarks/parse/fail-12.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-25.xbel/.dirs/runtime 601s ok 20 /bookmarks/parse/fail-25.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-22.xbel/.dirs/runtime 601s ok 21 /bookmarks/parse/fail-22.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-38.xbel/.dirs/runtime 601s ok 22 /bookmarks/parse/fail-38.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-20.xbel/.dirs/runtime 601s ok 23 /bookmarks/parse/fail-20.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-40.xbel/.dirs/runtime 601s ok 24 /bookmarks/parse/fail-40.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-35.xbel/.dirs/runtime 601s ok 25 /bookmarks/parse/fail-35.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-02.xbel/.dirs/runtime 601s ok 26 /bookmarks/parse/valid-02.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-36.xbel/.dirs/runtime 601s ok 27 /bookmarks/parse/fail-36.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-29.xbel/.dirs/runtime 601s ok 28 /bookmarks/parse/fail-29.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-16.xbel/.dirs/runtime 601s ok 29 /bookmarks/parse/fail-16.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-05.xbel/.dirs/runtime 601s ok 30 /bookmarks/parse/fail-05.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-24.xbel/.dirs/runtime 601s ok 31 /bookmarks/parse/fail-24.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-07.xbel/.dirs/runtime 601s ok 32 /bookmarks/parse/fail-07.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-18.xbel/.dirs/runtime 601s ok 33 /bookmarks/parse/fail-18.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-03.xbel/.dirs/runtime 601s ok 34 /bookmarks/parse/valid-03.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-31.xbel/.dirs/runtime 601s ok 35 /bookmarks/parse/fail-31.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-42.xbel/.dirs/runtime 601s ok 36 /bookmarks/parse/fail-42.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-04.xbel/.dirs/runtime 601s ok 37 /bookmarks/parse/fail-04.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-02.xbel/.dirs/runtime 601s ok 38 /bookmarks/parse/fail-02.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/valid-01.xbel/.dirs/runtime 601s ok 39 /bookmarks/parse/valid-01.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-15.xbel/.dirs/runtime 601s ok 40 /bookmarks/parse/fail-15.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-19.xbel/.dirs/runtime 601s ok 41 /bookmarks/parse/fail-19.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-33.xbel/.dirs/runtime 601s ok 42 /bookmarks/parse/fail-33.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-11.xbel/.dirs/runtime 601s ok 43 /bookmarks/parse/fail-11.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-03.xbel/.dirs/runtime 601s ok 44 /bookmarks/parse/fail-03.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-28.xbel/.dirs/runtime 601s ok 45 /bookmarks/parse/fail-28.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-13.xbel/.dirs/runtime 601s ok 46 /bookmarks/parse/fail-13.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-41.xbel/.dirs/runtime 601s ok 47 /bookmarks/parse/fail-41.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-09.xbel/.dirs/runtime 601s ok 48 /bookmarks/parse/fail-09.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-10.xbel/.dirs/runtime 601s ok 49 /bookmarks/parse/fail-10.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-08.xbel/.dirs/runtime 601s ok 50 /bookmarks/parse/fail-08.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/parse/fail-27.xbel/.dirs/runtime 601s ok 51 /bookmarks/parse/fail-27.xbel 601s # End of parse tests 601s # Start of copy tests 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-14.xbel/.dirs/runtime 601s ok 52 /bookmarks/copy/fail-14.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-21.xbel/.dirs/runtime 601s ok 53 /bookmarks/copy/fail-21.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-17.xbel/.dirs/runtime 601s ok 54 /bookmarks/copy/fail-17.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-37.xbel/.dirs/runtime 601s ok 55 /bookmarks/copy/fail-37.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-34.xbel/.dirs/runtime 601s ok 56 /bookmarks/copy/fail-34.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-06.xbel/.dirs/runtime 601s ok 57 /bookmarks/copy/fail-06.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-30.xbel/.dirs/runtime 601s ok 58 /bookmarks/copy/fail-30.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-01.xbel/.dirs/runtime 601s ok 59 /bookmarks/copy/fail-01.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-39.xbel/.dirs/runtime 601s ok 60 /bookmarks/copy/fail-39.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-23.xbel/.dirs/runtime 601s ok 61 /bookmarks/copy/fail-23.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-32.xbel/.dirs/runtime 601s ok 62 /bookmarks/copy/fail-32.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-26.xbel/.dirs/runtime 601s ok 63 /bookmarks/copy/fail-26.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-12.xbel/.dirs/runtime 601s ok 64 /bookmarks/copy/fail-12.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-25.xbel/.dirs/runtime 601s ok 65 /bookmarks/copy/fail-25.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-22.xbel/.dirs/runtime 601s ok 66 /bookmarks/copy/fail-22.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-38.xbel/.dirs/runtime 601s ok 67 /bookmarks/copy/fail-38.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-20.xbel/.dirs/runtime 601s ok 68 /bookmarks/copy/fail-20.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-40.xbel/.dirs/runtime 601s ok 69 /bookmarks/copy/fail-40.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-35.xbel/.dirs/runtime 601s ok 70 /bookmarks/copy/fail-35.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-02.xbel/.dirs/runtime 601s ok 71 /bookmarks/copy/valid-02.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-36.xbel/.dirs/runtime 601s ok 72 /bookmarks/copy/fail-36.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-29.xbel/.dirs/runtime 601s ok 73 /bookmarks/copy/fail-29.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-16.xbel/.dirs/runtime 601s ok 74 /bookmarks/copy/fail-16.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-05.xbel/.dirs/runtime 601s ok 75 /bookmarks/copy/fail-05.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-24.xbel/.dirs/runtime 601s ok 76 /bookmarks/copy/fail-24.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-07.xbel/.dirs/runtime 601s ok 77 /bookmarks/copy/fail-07.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-18.xbel/.dirs/runtime 601s ok 78 /bookmarks/copy/fail-18.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-03.xbel/.dirs/runtime 601s ok 79 /bookmarks/copy/valid-03.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-31.xbel/.dirs/runtime 601s ok 80 /bookmarks/copy/fail-31.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-42.xbel/.dirs/runtime 601s ok 81 /bookmarks/copy/fail-42.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-04.xbel/.dirs/runtime 601s ok 82 /bookmarks/copy/fail-04.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-02.xbel/.dirs/runtime 601s ok 83 /bookmarks/copy/fail-02.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/valid-01.xbel/.dirs/runtime 601s ok 84 /bookmarks/copy/valid-01.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-15.xbel/.dirs/runtime 601s ok 85 /bookmarks/copy/fail-15.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-19.xbel/.dirs/runtime 601s ok 86 /bookmarks/copy/fail-19.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-33.xbel/.dirs/runtime 601s ok 87 /bookmarks/copy/fail-33.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-11.xbel/.dirs/runtime 601s ok 88 /bookmarks/copy/fail-11.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-03.xbel/.dirs/runtime 601s ok 89 /bookmarks/copy/fail-03.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/data 601s ok - glib/bookmarkfile.test 601s # Running test: glib/utf8-pointer.test 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-28.xbel/.dirs/runtime 601s ok 90 /bookmarks/copy/fail-28.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-13.xbel/.dirs/runtime 601s ok 91 /bookmarks/copy/fail-13.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-41.xbel/.dirs/runtime 601s ok 92 /bookmarks/copy/fail-41.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-09.xbel/.dirs/runtime 601s ok 93 /bookmarks/copy/fail-09.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-10.xbel/.dirs/runtime 601s ok 94 /bookmarks/copy/fail-10.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-08.xbel/.dirs/runtime 601s ok 95 /bookmarks/copy/fail-08.xbel 601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/home 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/cache 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/config 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/data 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/state 601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HKSKE3/bookmarks/copy/fail-27.xbel/.dirs/runtime 601s ok 96 /bookmarks/copy/fail-27.xbel 601s # End of copy tests 601s # End of bookmarks tests 601s TAP version 14 601s # random seed: R02Sf1e5a070a5d89ae49a73f639bce70238 601s 1..3 601s # Start of utf8 tests 601s # Executing: glib/utf8-pointer.test 601s ok 1 /utf8/offsets 601s # slow test /utf8/offsets executed in 0.65 secs 601s ok 2 /utf8/lengths 601s ok 3 /utf8/find 601s # End of utf8 tests 601s ok - glib/utf8-pointer.test 601s # Running test: glib/objects-refcount2.test 601s TAP version 14 601s # random seed: R02S31c640d26d573e2b4d49b291ac402d33 601s 1..1 601s # Start of gobject tests 601s # Start of refcount tests 601s # init 0x2aa13f9bd60 601s # 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 601s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 602s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 603s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 604s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # . 605s # dispose 0x2aa13f9bd60! 605s # 605s ok 1 /gobject/refcount/object-advanced 605s # slow test /gobject/refcount/object-advanced executed in 3.53 secs 605s # End of refcount tests 605s # End of gobject tests 605s ok - glib/objects-refcount2.test 605s # Running test: glib/atomic-c-89.test 605s TAP version 14 605s # random seed: R02S9219c70ac5decfa574e4aadda1cb5e3f 605s 1..2 605s # Start of atomic tests 605s ok 1 /atomic/types 605s ok - glib/atomic-c-89.test 605s ok 2 /atomic/threaded 605s # End of atomic tests 605s # Running test: glib/onceinit.test 605s TAP version 14 605s # random seed: R02S056130f0050671b65f32a4667d248aa9 605s 1..1 605s # Start of thread tests 605s ok - glib/onceinit.test 605s ok 1 /thread/onceinit 605s # End of thread tests 605s # Running test: glib/utils-c-17.test 605s TAP version 14 605s # random seed: R02S0de9320480909761fc631140f37b6d23 605s 1..41 605s # Start of utils tests 605s ok 1 /utils/language-names 605s # Testing locale ‘en’ 605s # Testing locale ‘sr@latin’ 605s # Testing locale ‘fr_BE’ 605s # Testing locale ‘sr_SR@latin’ 605s # Testing locale ‘sr_SR@latin.UTF-8’ 605s # Testing locale ‘sr@latin_invalid’ 605s # Testing locale ‘sr.UTF-8@latin’ 605s # Testing locale ‘sr.UTF-8_latin’ 605s # Testing locale ‘sr.UTF-8@latin_invalid’ 605s ok 2 /utils/locale-variants 605s ok 3 /utils/version 605s ok 4 /utils/appname 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 605s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 605s ok 5 /utils/prgname-thread-safety 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 605s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 605s ok 6 /utils/tmpdir 605s ok 7 /utils/basic_bits 605s ok 8 /utils/bits 605s ok 9 /utils/swap 605s ok 10 /utils/find-program 605s ok 11 /utils/find-program-for-path 605s ok 12 /utils/debug 605s ok 13 /utils/codeset 605s ok 14 /utils/codeset2 605s ok 15 /utils/console-charset 605s ok 16 /utils/gettext 605s ok 17 /utils/username 605s ok 18 /utils/realname 605s ok 19 /utils/hostname 605s ok 20 /utils/xdgdirs 605s ok 21 /utils/specialdir 605s # NAME: Ubuntu 605s ok 22 /utils/os-info 605s ok 23 /utils/clear-pointer 605s ok 24 /utils/clear-pointer-cast 605s ok 25 /utils/take-pointer 605s ok 26 /utils/clear-source 605s ok 27 /utils/misc-mem 605s # /utils/aligned-mem summary: Aligned memory allocator 605s # Alignment must not be zero 605s # Alignment must be a power of two 605s # Alignment must be a multiple of sizeof(void*) 605s ok 28 /utils/aligned-mem 605s # /utils/free-sized summary: Check that g_free_sized() works 605s ok 29 /utils/free-sized 605s ok 30 /utils/nullify 605s ok 31 /utils/atexit 605s ok 32 /utils/check-setuid 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 605s ok 33 /utils/int-limits 605s ok 34 /utils/clear-list 605s ok 35 /utils/clear-slist 605s ok 36 /utils/steal-handle-id 605s # Start of specialdir tests 605s ok 37 /utils/specialdir/desktop 605s # End of specialdir tests 605s # Start of clear-pointer tests 605s ok 38 /utils/clear-pointer/side-effects 605s # End of clear-pointer tests 605s # Start of aligned-mem tests 605s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 605s ok 39 /utils/aligned-mem/alignment 605s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 605s ok 40 /utils/aligned-mem/zeroed 605s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 605s ok 41 /utils/aligned-mem/free-sized 605s # Start of subprocess tests 605s ok - glib/utils-c-17.test 605s # Running test: glib/defaultvalue.test 605s # End of subprocess tests 605s # End of aligned-mem tests 605s # End of utils tests 605s TAP version 14 605s # random seed: R02S430691df8e3f431b9c054d2bc1f52e2f 605s 1..84 605s # Start of Default Values tests 605s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 605s ok 2 /Default Values/GAppLaunchContext 605s ok 3 /Default Values/GApplicationCommandLine 605s # skipping GApplication:is-remote 605s ok 4 /Default Values/GApplication 605s ok 5 /Default Values/GBinding # SKIP mandatory construct params 605s ok 6 /Default Values/GBindingGroup 605s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 605s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 605s ok 9 /Default Values/GBytesIcon 605s ok 10 /Default Values/GCancellable 605s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 605s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 605s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 605s ok 14 /Default Values/GCredentials 605s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 605s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 605s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 605s ok 18 /Default Values/GDBusAuthObserver 605s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 605s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 605s ok 21 /Default Values/GDBusMessage 605s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 605s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 605s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 605s ok 25 /Default Values/GDBusObjectProxy 605s ok 26 /Default Values/GDBusObjectSkeleton 605s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 605s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 605s ok 29 /Default Values/GEmblem 605s ok 30 /Default Values/GEmblemedIcon 605s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 605s ok 32 /Default Values/GFileInfo 605s ok 33 /Default Values/GFileInputStream 605s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 605s ok 35 /Default Values/GFileOutputStream 605s ok 36 /Default Values/GFilenameCompleter 605s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 605s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 605s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 605s ok 40 /Default Values/GInitiallyUnowned 605s ok 41 /Default Values/GIOModule 605s ok 42 /Default Values/GListStore 605s ok 43 /Default Values/GMemoryInputStream 605s ok 44 /Default Values/GMemoryOutputStream 605s ok 45 /Default Values/GMenu 605s ok 46 /Default Values/GMenuItem 605s ok 47 /Default Values/GMountOperation 605s ok 48 /Default Values/GNativeSocketAddress 605s ok 49 /Default Values/GNetworkAddress 605s ok 50 /Default Values/GNetworkService 605s ok 51 /Default Values/GNotification 605s ok 52 /Default Values/GObject 605s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 605s # skipping GProxyAddressEnumerator:proxy-resolver 605s ok 54 /Default Values/GProxyAddressEnumerator 605s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 605s ok 56 /Default Values/GSettings # SKIP mandatory construct params 605s ok 57 /Default Values/GSignalGroup 605s ok 58 /Default Values/GSimpleAction 605s ok 59 /Default Values/GSimpleActionGroup 605s ok 60 /Default Values/GSimpleAsyncResult 605s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 605s ok 62 /Default Values/GSimplePermission 605s ok 63 /Default Values/GSimpleProxyResolver 605s # skipping GSocketClient:proxy-resolver 605s ok 64 /Default Values/GSocketClient 605s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 605s ok 66 /Default Values/GSocket # SKIP initialization failed 605s ok 67 /Default Values/GSocketListener 605s ok 68 /Default Values/GSocketService 605s ok 69 /Default Values/GSubprocess # SKIP initialization failed 605s ok 70 /Default Values/GSubprocessLauncher 605s # GLib-GIO-DEBUG: GTask 0x2aa2b975a70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 605s ok 71 /Default Values/GTask 605s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 605s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 605s ok 74 /Default Values/GTestDBus 605s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 605s ok 76 /Default Values/GThreadedSocketService 605s ok 77 /Default Values/GTlsInteraction 605s ok 78 /Default Values/GTlsPassword 605s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 605s ok 80 /Default Values/GUnixFDList 605s ok 81 /Default Values/GVfs 605s ok 82 /Default Values/GVolumeMonitor 605s ok 83 /Default Values/GZlibCompressor 605s ok 84 /Default Values/GZlibDecompressor 605s # End of Default Values tests 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s TAP version 14 605s # random seed: R02S4b378ecc8e77953e78b45a985c82f1e1 605s 1..1 605s # Start of include tests 605s ok 1 /include/rwlock 605s # End of include tests 605s TAP version 14 605s # random seed: R02S3a058857829896a366873925f1168b3f 605s 1..2 605s # Start of atomic tests 605s ok 1 /atomic/types 605s ok - glib/defaultvalue.test 605s # Running test: glib/include.test 605s ok - glib/include.test 605s # Running test: glib/atomic-c-17.test 605s ok 2 /atomic/threaded 605s # End of atomic tests 605s TAP version 14 605s # random seed: R02Sa8be55324cdf2dfb0b675538ba8a6e14 605s 1..41 605s # Start of utils tests 605s ok 1 /utils/language-names 605s # Testing locale ‘en’ 605s # Testing locale ‘sr@latin’ 605s # Testing locale ‘fr_BE’ 605s # Testing locale ‘sr_SR@latin’ 605s # Testing locale ‘sr_SR@latin.UTF-8’ 605s # Testing locale ‘sr@latin_invalid’ 605s ok - glib/atomic-c-17.test 605s # Running test: glib/utils.test 605s # Testing locale ‘sr.UTF-8@latin’ 605s # Testing locale ‘sr.UTF-8_latin’ 605s # Testing locale ‘sr.UTF-8@latin_invalid’ 605s ok 2 /utils/locale-variants 605s ok 3 /utils/version 605s ok 4 /utils/appname 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 605s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 605s ok 5 /utils/prgname-thread-safety 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 605s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 605s ok 6 /utils/tmpdir 605s ok 7 /utils/basic_bits 605s ok 8 /utils/bits 605s ok 9 /utils/swap 605s ok 10 /utils/find-program 605s ok 11 /utils/find-program-for-path 605s ok 12 /utils/debug 605s ok 13 /utils/codeset 605s ok 14 /utils/codeset2 605s ok 15 /utils/console-charset 605s ok 16 /utils/gettext 605s ok 17 /utils/username 605s ok 18 /utils/realname 605s ok 19 /utils/hostname 605s ok 20 /utils/xdgdirs 605s ok 21 /utils/specialdir 605s # NAME: Ubuntu 605s ok 22 /utils/os-info 605s ok 23 /utils/clear-pointer 605s ok 24 /utils/clear-pointer-cast 605s ok 25 /utils/take-pointer 605s ok 26 /utils/clear-source 605s ok 27 /utils/misc-mem 605s # /utils/aligned-mem summary: Aligned memory allocator 605s # Alignment must not be zero 605s # Alignment must be a power of two 605s # Alignment must be a multiple of sizeof(void*) 605s ok 28 /utils/aligned-mem 605s # /utils/free-sized summary: Check that g_free_sized() works 605s ok 29 /utils/free-sized 605s ok 30 /utils/nullify 605s ok 31 /utils/atexit 605s ok 32 /utils/check-setuid 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 605s ok 33 /utils/int-limits 605s ok 34 /utils/clear-list 605s ok 35 /utils/clear-slist 605s ok 36 /utils/steal-handle-id 605s # Start of specialdir tests 605s ok 37 /utils/specialdir/desktop 605s # End of specialdir tests 605s # Start of clear-pointer tests 605s ok 38 /utils/clear-pointer/side-effects 605s # End of clear-pointer tests 605s # Start of aligned-mem tests 605s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 605s ok 39 /utils/aligned-mem/alignment 605s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 605s ok 40 /utils/aligned-mem/zeroed 605s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 605s ok 41 /utils/aligned-mem/free-sized 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of aligned-mem tests 605s ok - glib/utils.test 605s # Running test: glib/custom-dispatch.test 605s # End of utils tests 605s TAP version 14 605s # random seed: R02Sca34e47331b8a2f16744106f894bbfad 605s ok - glib/custom-dispatch.test 605s 1..2 605s # Start of properties tests 605s # Start of custom-dispatch tests 605s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 605s ok 1 /properties/custom-dispatch/init 605s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 605s ok 2 /properties/custom-dispatch/set 605s # End of custom-dispatch tests 605s # End of properties tests 605s # Running test: glib/filter-streams.test 605s TAP version 14 605s # random seed: R02S6a0a4c57b0ccf0494a75dbc650f268b9 605s ok - glib/filter-streams.test 605s # Running test: glib/option-context.test 605s 1..4 605s # Start of filter-stream tests 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 605s ok 1 /filter-stream/input 605s ok 2 /filter-stream/output 605s ok 3 /filter-stream/async-input 605s ok 4 /filter-stream/async-output 605s # End of filter-stream tests 605s TAP version 14 605s # random seed: R02S79e93ec7c4d3b202dec5b273565792f5 605s 1..59 605s # Start of option tests 605s ok 1 /option/basic 605s ok 2 /option/translate 605s ok 3 /option/strict-posix 605s # Testing command: program --double abc 605s # Testing command: program --double 2e309 605s # Testing command: program --int abc 605s # Testing command: program --int 99999999999999999999999999999999999 605s # Testing command: program --int64 abc 605s # Testing command: program --int64 99999999999999999999999999999999999 605s ok 4 /option/parsing-errors 605s # Start of help tests 605s ok 5 /option/help/options 605s ok 6 /option/help/no-options 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 605s ok 7 /option/help/no-help-options 605s # Usage: 605s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 605s # 605s # Summary 605s # 605s # Help Options: 605s # -h, --help Show help options 605s # 605s # Application Options: 605s # -t, --test=Argument to use in test (deprecated) Test tests 605s # --test2 Tests also 605s # 605s # Description 605s # 605s ok 8 /option/help/deprecated 605s # End of help tests 605s # Start of group tests 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 605s ok - glib/option-context.test 605s # Running test: glib/unicode-encoding.test 605s ok - glib/unicode-encoding.test 605s # Running test: glib/socket-service.test 605s ok - glib/socket-service.test 605s # Running test: glib/vfs.test 605s ok - glib/vfs.test 605s # Running test: glib/module-test-library.test 605s ok - glib/module-test-library.test 605s # Running test: glib/rcbox.test 605s ok - glib/rcbox.test 605s # Running test: glib/mount-operation.test 605s ok - glib/mount-operation.test 605s # Running test: glib/convert.test 605s ok 9 /option/group/captions 605s ok 10 /option/group/main 605s ok 11 /option/group/error-hook 605s ok 12 /option/group/parse 605s # Start of captions tests 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of captions tests 605s # End of group tests 605s # Start of restoration tests 605s ok 13 /option/restoration/int 605s ok 14 /option/restoration/string 605s ok 15 /option/restoration/boolean 605s # End of restoration tests 605s # Start of arg tests 605s ok 16 /option/arg/reverse-string 605s ok 17 /option/arg/optional-int 605s # Start of repetition tests 605s ok 18 /option/arg/repetition/int 605s ok 19 /option/arg/repetition/string 605s ok 20 /option/arg/repetition/filename 605s ok 21 /option/arg/repetition/double 605s ok 22 /option/arg/repetition/locale 605s ok 23 /option/arg/repetition/int64 605s # End of repetition tests 605s # Start of array tests 605s ok 24 /option/arg/array/string 605s # End of array tests 605s # Start of callback tests 605s ok 25 /option/arg/callback/string 605s ok 26 /option/arg/callback/count 605s ok 27 /option/arg/callback/optional1 605s ok 28 /option/arg/callback/optional2 605s ok 29 /option/arg/callback/optional3 605s ok 30 /option/arg/callback/optional4 605s ok 31 /option/arg/callback/optional5 605s ok 32 /option/arg/callback/optional6 605s ok 33 /option/arg/callback/optional7 605s ok 34 /option/arg/callback/optional8 605s # End of callback tests 605s # Start of remaining tests 605s ok 35 /option/arg/remaining/callback 605s ok 36 /option/arg/remaining/callback-false 605s ok 37 /option/arg/remaining/non-option 605s ok 38 /option/arg/remaining/separator 605s ok 39 /option/arg/remaining/array 605s # End of remaining tests 605s # Start of ignore tests 605s ok 40 /option/arg/ignore/long 605s ok 41 /option/arg/ignore/short 605s ok 42 /option/arg/ignore/arg 605s # End of ignore tests 605s # Start of rest tests 605s ok 43 /option/arg/rest/non-option 605s ok 44 /option/arg/rest/separator1 605s ok 45 /option/arg/rest/separator2 605s ok 46 /option/arg/rest/separator3 605s ok 47 /option/arg/rest/separator4 605s ok 48 /option/arg/rest/separator5 605s # End of rest tests 605s # End of arg tests 605s # Start of context tests 605s ok 49 /option/context/add 605s ok 50 /option/context/empty2 605s ok 51 /option/context/empty3 605s # End of context tests 605s # Start of bug tests 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 605s ok 52 /option/bug/unknown-short 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 605s ok 53 /option/bug/lonely-dash 605s ok 54 /option/bug/triple-dash 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 605s ok 55 /option/bug/missing-arg 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 605s ok 56 /option/bug/dash-arg 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 605s ok 57 /option/bug/short-remaining 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 605s ok 58 /option/bug/double-free 605s ok 59 /option/bug/double-zero 605s # End of bug tests 605s # End of option tests 605s TAP version 14 605s # random seed: R02S50c736d7037913dcad909e6f64980b32 605s 1..1 605s # Start of unicode tests 605s ok 1 /unicode/encoding 605s # End of unicode tests 605s TAP version 14 605s # random seed: R02Sc35aed84c528513ba850e3c94ff1f8fe 605s 1..4 605s # Start of socket-service tests 605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 605s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa13e6d230 and GSocketClientAsyncConnectData 0x2aa13e67ef0 605s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 605s ok 1 /socket-service/start-stop 605s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa13e712c0 and GSocketClientAsyncConnectData 0x2aa13e70f20 605s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 605s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 605s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13e71240 for GSocketClientAsyncConnectData 0x2aa13e67ef0 605s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 605s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 605s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 605s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 605s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 605s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13e71240 for GSocketClientAsyncConnectData 0x2aa13e70f20 605s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 605s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 605s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 605s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 605s ok 2 /socket-service/read_write_async 605s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa13e712c0 and GSocketClientAsyncConnectData 0x2aa13e749e0 605s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 605s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 605s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13e73e10 for GSocketClientAsyncConnectData 0x2aa13e749e0 605s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 605s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 605s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 605s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 605s ok 3 /socket-service/read_writev_async 605s # Start of threaded tests 605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 605s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa13e65a60 and GSocketClientAsyncConnectData 0x2aa13e70f20 605s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 605s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 605s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13e75240 for GSocketClientAsyncConnectData 0x2aa13e70f20 605s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 605s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 605s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 605s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 605s ok 4 /socket-service/threaded/712570 605s # End of threaded tests 605s # End of socket-service tests 605s TAP version 14 605s # random seed: R02S7585d14582e6a3a810609380b2018187 605s 1..3 605s # Start of gvfs tests 605s ok 1 /gvfs/local 605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 605s ok 2 /gvfs/register-scheme 605s # Start of resource tests 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 605s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 605s ok 3 /gvfs/resource/malformed-escaping 605s # End of resource tests 605s # End of gvfs tests 605s TAP version 14 605s # random seed: R02S6acdcdbe79f4d1067c596e2119ea141b 605s 1..3 605s # Start of module tests 605s ok 1 /module/basics 605s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 605s ok 2 /module/invalid-libtool-archive 605s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 605s ok 3 /module/local-binding 605s # End of module tests 605s TAP version 14 605s # random seed: R02S1e3b4987ee7d2480b3966b097826b06f 605s 1..8 605s # Start of rcbox tests 605s ok 1 /rcbox/new 605s # global_point = 0x2aa361ad710 605s ok 2 /rcbox/release-full 605s # global_point_a = 0x2aa361ad710 605s # global_point_b = 0x2aa361ad7e0 605s ok 3 /rcbox/dup 605s ok 4 /rcbox/alignment 605s # End of rcbox tests 605s # Start of atomic-rcbox tests 605s ok 5 /atomic-rcbox/new 605s # global_point = 0x2aa361ad7e0 605s ok 6 /atomic-rcbox/release-full 605s # global_point_a = 0x2aa361ad7e0 605s # global_point_b = 0x2aa361ad710 605s ok 7 /atomic-rcbox/dup 605s ok 8 /atomic-rcbox/alignment 605s # End of atomic-rcbox tests 605s TAP version 14 605s # random seed: R02Sf9011302f8884a03000e4a8ce2bce8cf 605s 1..2 605s # Start of mount-operation tests 605s ok 1 /mount-operation/construction 605s ok 2 /mount-operation/properties 605s # End of mount-operation tests 605s TAP version 14 605s # random seed: R02Sd867adf52cf3cc5cf5224d1564122b69 605s 1..14 605s # Start of conversion tests 605s ok 1 /conversion/no-conv 605s ok 2 /conversion/iconv-state 605s ok 3 /conversion/illegal-sequence 605s ok 4 /conversion/byte-order 605s ok 5 /conversion/unicode 605s ok 6 /conversion/filename-utf8 605s ok 7 /conversion/filename-display 605s ok 8 /conversion/convert-embedded-nul 605s # Start of locale-to-utf8 tests 605s ok 9 /conversion/locale-to-utf8/embedded-nul 605s # Start of embedded-nul tests 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of embedded-nul tests 605s # End of locale-to-utf8 tests 605s # Start of locale-from-utf8 tests 605s ok 10 /conversion/locale-from-utf8/embedded-nul 605s # Start of embedded-nul tests 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of embedded-nul tests 605s # End of locale-from-utf8 tests 605s # Start of filename-to-utf8 tests 605s ok 11 /conversion/filename-to-utf8/embedded-nul 605s # Start of embedded-nul tests 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of embedded-nul tests 605s # End of filename-to-utf8 tests 605s # Start of filename-from-utf8 tests 605s ok 12 /conversion/filename-from-utf8/embedded-nul 605s # Start of embedded-nul tests 605s # Start of subprocess tests 605s # End of subprocess tests 605s # End of embedded-nul tests 605s # End of filename-from-utf8 tests 605s # Start of filename-from-uri tests 605s ok 13 /conversion/filename-from-uri/query-is-ignored 605s ok 14 /conversion/filename-from-uri/fragment-is-ignored 605s # End of filename-from-uri tests 605s # End of conversion tests 605s TAP version 14 605s # random seed: R02S83e8d9e70d8845663ec0cf9f0d700a80 605s 1..1 605s # Start of portal-support tests 605s # Start of flatpak tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/runtime 605s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_2N6VE3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 605s ok 1 /portal-support/flatpak/full 605s # End of flatpak tests 605s # End of portal-support tests 605s TAP version 14 605s # random seed: R02Sf908ad32b11de42cf5785d8951b2e103 605s 1..8 605s ok - glib/convert.test 605s # Running test: glib/portal-support-flatpak-full.test 605s ok - glib/portal-support-flatpak-full.test 605s # Running test: glib/gdbus-test-codegen.test 605s # Start of gdbus tests 605s # Start of codegen tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/annotations/.dirs/runtime 605s ok 1 /gdbus/codegen/annotations 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/interface_stability/.dirs/runtime 605s ok 2 /gdbus/codegen/interface_stability 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/object-manager/.dirs/runtime 605s ok 3 /gdbus/codegen/object-manager 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/property-naming/.dirs/runtime 605s ok 4 /gdbus/codegen/property-naming 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/autocleanups/.dirs/runtime 605s ok 5 /gdbus/codegen/autocleanups 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/system-config2 605s ok - glib/gdbus-test-codegen.test 605s # Running test: glib/gdbus-connection-loss.test 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/deprecations/.dirs/runtime 605s ok 6 /gdbus/codegen/deprecations 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 605s ok 7 /gdbus/codegen/standalone-interface-info 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V74VE3/gdbus/codegen/unix-fd-list/.dirs/runtime 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 605s ok 8 /gdbus/codegen/unix-fd-list 605s # End of codegen tests 605s # End of gdbus tests 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s TAP version 14 605s # random seed: R02S057f84d3b8e221ef0c3c7ec6bd7c7c83 605s 1..1 605s # Start of gdbus tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_088UE3/gdbus/connection-loss/.dirs/runtime 605s ok - glib/gdbus-connection-loss.test 605s ok 1 /gdbus/connection-loss 605s # End of gdbus tests 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 605s TAP version 14 605s # Running test: glib/g-file-info.test 605s # random seed: R02Sfeab8d2ae76c60fcf749fa7aa8f59e66 605s 1..6 605s # Start of g-file-info tests 605s ok 1 /g-file-info/test_g_file_info 605s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 605s ok 2 /g-file-info/xattrs 605s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 605s ok 3 /g-file-info/set-modified-date-time-precision 605s # Start of test_g_file_info tests 605s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 605s ok 4 /g-file-info/test_g_file_info/modification-time 605s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 605s ok 5 /g-file-info/test_g_file_info/access-time 605s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 605s ok 6 /g-file-info/test_g_file_info/creation-time 605s # End of test_g_file_info tests 605s # End of g-file-info tests 605s ok - glib/g-file-info.test 605s # Running test: glib/autoptr.test 605s TAP version 14 605s # random seed: R02S33b09061f7805d52d6530d64a7c71569 605s 1..6 605s # Start of autoptr tests 605s ok 1 /autoptr/autoptr 605s ok 2 /autoptr/autoptr_steal 605s ok 3 /autoptr/autolist 605s ok 4 /autoptr/autoslist 605s ok 5 /autoptr/autoqueue 605s ok 6 /autoptr/autoclass 605s # End of autoptr tests 605s ok - glib/autoptr.test 605s # Running test: glib/memory-settings-backend.test 605s TAP version 14 605s # random seed: R02Sf2ceba9e00689c0b689532258e795902 605s 1..1 605s # Start of memory-settings-backend tests 605s ok 1 /memory-settings-backend/extension-point-registered 605s # End of memory-settings-backend tests 605s ok - glib/memory-settings-backend.test 605s # Running test: glib/giomodule.test 605s ok - glib/giomodule.test 605s # Running test: glib/unix-mounts.test 605s ok - glib/unix-mounts.test 605s TAP version 14 605s # random seed: R02Sbc2442a21ed637caeefb20feaf231826 605s 1..3 605s # Start of giomodule tests 605s ok 1 /giomodule/extension-point 605s ok 2 /giomodule/module-scan-all 605s ok 3 /giomodule/module-scan-all-with-scope 605s # End of giomodule tests 605s TAP version 14 605s # random seed: R02S37287a6a46e281e39ecd9adf62156036 605s 1..4 605s # Start of unix-mounts tests 605s ok 1 /unix-mounts/is-system-fs-type 605s ok 2 /unix-mounts/is-system-device-path 605s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 605s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 605s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 605s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 605s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 605s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 605s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 605s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 605s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 605s ok 3 /unix-mounts/get-mount-points 605s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 605s ok 4 /unix-mounts/get-mount-entries 605s # End of unix-mounts tests 605s # Running test: glib/messages-low-memory.py.test 605s TAP version 13 605s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 605s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 605s # tmpdir: /tmp/tmpzh9x3xo0 605s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 605s # Return code: -6 605s # Output: 605s # 605s # Error: 605s # GLib-Message: 18:37:24.805: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 605s # GLib-Message: 18:37:24.805: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 605s # ../../../glib/gprintf.c:351: failed to allocate memory 605s 1..1 605s ok - glib/messages-low-memory.py.test 605s # Running test: glib/overflow.test 605s ok - glib/overflow.test 605s # Running test: glib/memory-monitor-poll.test 605s TAP version 14 605s # random seed: R02S1ec5b1441251abe28e6033848a9563f9 605s 1..6 605s # Start of glib tests 605s # Start of checked-math tests 605s ok 1 /glib/checked-math/guint-add 605s ok 2 /glib/checked-math/guint-mul 605s ok 3 /glib/checked-math/guint64-add 605s ok 4 /glib/checked-math/guint64-mul 605s ok 5 /glib/checked-math/gsize-add 605s ok 6 /glib/checked-math/gsize-mul 605s # End of checked-math tests 605s # End of glib tests 605s TAP version 14 605s # random seed: R02Sd824acb6eff882a5c37286da07b17f77 605s 1..4 605s # Start of memory-monitor-poll tests 605s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 605s ok 1 /memory-monitor-poll/dup-default 605s # GLib-GIO-DEBUG: memory free ratio 0.190000 605s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 605s ok 2 /memory-monitor-poll/critical-event 605s # GLib-GIO-DEBUG: memory free ratio 0.290000 605s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 605s ok 3 /memory-monitor-poll/medium-event 605s ok - glib/memory-monitor-poll.test 605s # GLib-GIO-DEBUG: memory free ratio 0.390000 605s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 605s ok 4 /memory-monitor-poll/low-event 605s # End of memory-monitor-poll tests 606s TAP version 14 606s # random seed: R02S886fd2421aae46b2bde2ef1301769b08 606s 1..24 606s # Start of snprintf tests 606s ok 1 /snprintf/retval-and-trunc 606s ok 2 /snprintf/%d 606s ok 3 /snprintf/%d-invalid 606s ok 4 /snprintf/%o 606s ok 5 /snprintf/%u 606s ok 6 /snprintf/%x 606s ok 7 /snprintf/%X 606s ok 8 /snprintf/%f 606s ok 9 /snprintf/%e 606s ok 10 /snprintf/%c 606s ok 11 /snprintf/%s 606s ok 12 /snprintf/%n 606s ok 13 /snprintf/test-percent 606s ok 14 /snprintf/test-positional-params 606s ok 15 /snprintf/test-64bit 606s ok 16 /snprintf/produce-embedded-nulls 606s # End of snprintf tests 606s # Start of printf tests 606s ok 17 /printf/test-percent 606s ok 18 /printf/test-positional-params 606s ok 19 /printf/test-64bit 606s # Start of test-64bit tests 606s # Start of subprocess tests 606s # End of subprocess tests 606s # End of test-64bit tests 606s # End of printf tests 606s # Start of fprintf tests 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 606s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 606s ok 20 /fprintf/produce-embedded-nulls 606s # End of fprintf tests 606s # Start of sprintf tests 606s ok 21 /sprintf/test-positional-params 606s ok 22 /sprintf/upper-bound 606s # End of sprintf tests 606s # Start of vasprintf tests 606s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 606s ok 23 /vasprintf/invalid-format-placeholder 606s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 606s ok 24 /vasprintf/invalid-wide-string 606s # End of vasprintf tests 606s TAP version 14 606s # random seed: R02Sd1e5c10f8d6e9d4d9c41c9256730ff13 606s 1..238 606s # Start of utf8 tests 606s # Vector 0 606s # Vector 1 606s # Vector 2 606s # Vector 3 606s # Vector 4 606s # Vector 5 606s # Vector 6 606s # Vector 7 606s # Vector 8 606s # Vector 9 606s # Vector 10 606s # Vector 11 606s # Vector 12 606s # Vector 13 606s # Vector 14 606s # Vector 15 606s # Vector 16 606s # Vector 17 606s # Vector 18 606s # Vector 19 606s # Vector 20 606s # Vector 21 606s # Vector 22 606s # Vector 23 606s # Vector 24 606s # Vector 25 606s # Vector 26 606s # Vector 27 606s ok 1 /utf8/get-char-validated 606s # Start of validate tests 606s ok 2 /utf8/validate/0 606s ok 3 /utf8/validate/1 606s ok 4 /utf8/validate/2 606s ok 5 /utf8/validate/3 606s ok 6 /utf8/validate/4 606s ok 7 /utf8/validate/5 606s ok 8 /utf8/validate/6 606s ok 9 /utf8/validate/7 606s ok 10 /utf8/validate/8 606s ok 11 /utf8/validate/9 606s ok 12 /utf8/validate/10 606s ok 13 /utf8/validate/11 606s ok 14 /utf8/validate/12 606s ok 15 /utf8/validate/13 606s ok 16 /utf8/validate/14 606s ok 17 /utf8/validate/15 606s ok 18 /utf8/validate/16 606s ok 19 /utf8/validate/17 606s ok 20 /utf8/validate/18 606s ok 21 /utf8/validate/19 606s ok 22 /utf8/validate/20 606s ok 23 /utf8/validate/21 606s ok 24 /utf8/validate/22 606s ok 25 /utf8/validate/23 606s ok 26 /utf8/validate/24 606s ok 27 /utf8/validate/25 606s ok 28 /utf8/validate/26 606s ok 29 /utf8/validate/27 606s ok 30 /utf8/validate/28 606s ok 31 /utf8/validate/29 606s ok 32 /utf8/validate/30 606s ok 33 /utf8/validate/31 606s ok 34 /utf8/validate/32 606s ok 35 /utf8/validate/33 606s ok 36 /utf8/validate/34 606s ok 37 /utf8/validate/35 606s ok 38 /utf8/validate/36 606s ok 39 /utf8/validate/37 606s ok 40 /utf8/validate/38 606s ok 41 /utf8/validate/39 606s ok 42 /utf8/validate/40 606s ok 43 /utf8/validate/41 606s ok 44 /utf8/validate/42 606s ok 45 /utf8/validate/43 606s ok 46 /utf8/validate/44 606s ok 47 /utf8/validate/45 606s ok 48 /utf8/validate/46 606s ok 49 /utf8/validate/47 606s ok 50 /utf8/validate/48 606s ok 51 /utf8/validate/49 606s ok 52 /utf8/validate/50 606s ok 53 /utf8/validate/51 606s ok 54 /utf8/validate/52 606s ok 55 /utf8/validate/53 606s ok 56 /utf8/validate/54 606s ok 57 /utf8/validate/55 606s ok 58 /utf8/validate/56 606s ok 59 /utf8/validate/57 606s ok 60 /utf8/validate/58 606s ok 61 /utf8/validate/59 606s ok 62 /utf8/validate/60 606s ok 63 /utf8/validate/61 606s ok 64 /utf8/validate/62 606s ok 65 /utf8/validate/63 606s ok 66 /utf8/validate/64 606s ok 67 /utf8/validate/65 606s ok 68 /utf8/validate/66 606s ok 69 /utf8/validate/67 606s ok 70 /utf8/validate/68 606s ok 71 /utf8/validate/69 606s ok 72 /utf8/validate/70 606s ok 73 /utf8/validate/71 606s ok 74 /utf8/validate/72 606s ok 75 /utf8/validate/73 606s ok 76 /utf8/validate/74 606s ok 77 /utf8/validate/75 606s ok 78 /utf8/validate/76 606s ok 79 /utf8/validate/77 606s ok 80 /utf8/validate/78 606s ok 81 /utf8/validate/79 606s ok 82 /utf8/validate/80 606s ok 83 /utf8/validate/81 606s ok 84 /utf8/validate/82 606s ok 85 /utf8/validate/83 606s ok 86 /utf8/validate/84 606s ok 87 /utf8/validate/85 606s ok 88 /utf8/validate/86 606s ok 89 /utf8/validate/87 606s ok 90 /utf8/validate/88 606s ok 91 /utf8/validate/89 606s ok 92 /utf8/validate/90 606s ok 93 /utf8/validate/91 606s ok 94 /utf8/validate/92 606s ok 95 /utf8/validate/93 606s ok 96 /utf8/validate/94 606s ok 97 /utf8/validate/95 606s ok 98 /utf8/validate/96 606s ok 99 /utf8/validate/97 606s ok 100 /utf8/validate/98 606s ok 101 /utf8/validate/99 606s ok 102 /utf8/validate/100 606s ok 103 /utf8/validate/101 606s ok 104 /utf8/validate/102 606s ok 105 /utf8/validate/103 606s ok 106 /utf8/validate/104 606s ok 107 /utf8/validate/105 606s ok 108 /utf8/validate/106 606s ok 109 /utf8/validate/107 606s ok 110 /utf8/validate/108 606s ok 111 /utf8/validate/109 606s ok 112 /utf8/validate/110 606s ok 113 /utf8/validate/111 606s ok 114 /utf8/validate/112 606s ok 115 /utf8/validate/113 606s ok 116 /utf8/validate/114 606s ok 117 /utf8/validate/115 606s ok 118 /utf8/validate/116 606s ok 119 /utf8/validate/117 606s ok 120 /utf8/validate/118 606s ok 121 /utf8/validate/119 606s ok 122 /utf8/validate/120 606s ok 123 /utf8/validate/121 606s ok 124 /utf8/validate/122 606s ok 125 /utf8/validate/123 606s ok 126 /utf8/validate/124 606s ok 127 /utf8/validate/125 606s ok 128 /utf8/validate/126 606s ok 129 /utf8/validate/127 606s ok 130 /utf8/validate/128 606s ok 131 /utf8/validate/129 606s ok 132 /utf8/validate/130 606s ok 133 /utf8/validate/131 606s ok 134 /utf8/validate/132 606s ok 135 /utf8/validate/133 606s ok 136 /utf8/validate/134 606s ok 137 /utf8/validate/135 606s ok 138 /utf8/validate/136 606s ok 139 /utf8/validate/137 606s ok 140 /utf8/validate/138 606s ok 141 /utf8/validate/139 606s ok 142 /utf8/validate/140 606s ok 143 /utf8/validate/141 606s ok 144 /utf8/validate/142 606s ok 145 /utf8/validate/143 606s ok 146 /utf8/validate/144 606s ok 147 /utf8/validate/145 606s ok 148 /utf8/validate/146 606s ok 149 /utf8/validate/147 606s ok 150 /utf8/validate/148 606s ok 151 /utf8/validate/149 606s ok 152 /utf8/validate/150 606s ok 153 /utf8/validate/151 606s ok 154 /utf8/validate/152 606s ok 155 /utf8/validate/153 606s ok 156 /utf8/validate/154 606s ok 157 /utf8/validate/155 606s ok 158 /utf8/validate/156 606s ok 159 /utf8/validate/157 606s ok 160 /utf8/validate/158 606s ok 161 /utf8/validate/159 606s ok 162 /utf8/validate/160 606s ok 163 /utf8/validate/161 606s ok 164 /utf8/validate/162 606s ok 165 /utf8/validate/163 606s ok 166 /utf8/validate/164 606s ok 167 /utf8/validate/165 606s ok 168 /utf8/validate/166 606s ok 169 /utf8/validate/167 606s ok 170 /utf8/validate/168 606s ok 171 /utf8/validate/169 606s ok 172 /utf8/validate/170 606s ok 173 /utf8/validate/171 606s ok 174 /utf8/validate/172 606s ok 175 /utf8/validate/173 606s ok 176 /utf8/validate/174 606s ok 177 /utf8/validate/175 606s ok 178 /utf8/validate/176 606s ok 179 /utf8/validate/177 606s ok 180 /utf8/validate/178 606s ok 181 /utf8/validate/179 606s ok 182 /utf8/validate/180 606s ok 183 /utf8/validate/181 606s ok 184 /utf8/validate/182 606s ok 185 /utf8/validate/183 606s ok 186 /utf8/validate/184 606s ok 187 /utf8/validate/185 606s ok 188 /utf8/validate/186 606s ok 189 /utf8/validate/187 606s ok 190 /utf8/validate/188 606s ok 191 /utf8/validate/189 606s ok 192 /utf8/validate/190 606s ok 193 /utf8/validate/191 606s ok 194 /utf8/validate/192 606s ok 195 /utf8/validate/193 606s ok 196 /utf8/validate/194 606s ok 197 /utf8/validate/195 606s ok 198 /utf8/validate/196 606s ok 199 /utf8/validate/197 606s ok 200 /utf8/validate/198 606s ok 201 /utf8/validate/199 606s ok 202 /utf8/validate/200 606s ok 203 /utf8/validate/201 606s ok 204 /utf8/validate/202 606s ok 205 /utf8/validate/203 606s ok 206 /utf8/validate/204 606s ok 207 /utf8/validate/205 606s ok 208 /utf8/validate/206 606s ok 209 /utf8/validate/207 606s ok 210 /utf8/validate/208 606s ok 211 /utf8/validate/209 606s ok 212 /utf8/validate/210 606s ok 213 /utf8/validate/211 606s ok 214 /utf8/validate/212 606s ok 215 /utf8/validate/213 606s ok 216 /utf8/validate/214 606s ok 217 /utf8/validate/215 606s ok 218 /utf8/validate/216 606s ok 219 /utf8/validate/217 606s ok 220 /utf8/validate/218 606s ok 221 /utf8/validate/219 606s ok 222 /utf8/validate/220 606s ok 223 /utf8/validate/221 606s ok 224 /utf8/validate/222 606s ok 225 /utf8/validate/223 606s ok 226 /utf8/validate/224 606s ok 227 /utf8/validate/225 606s ok 228 /utf8/validate/226 606s ok 229 /utf8/validate/227 606s ok 230 /utf8/validate/228 606s ok 231 /utf8/validate/229 606s ok 232 /utf8/validate/230 606s ok 233 /utf8/validate/231 606s ok 234 /utf8/validate/232 606s ok 235 /utf8/validate/233 606s ok 236 /utf8/validate/234 606s ok 237 /utf8/validate/235 606s ok 238 /utf8/validate/236 606s # End of validate tests 606s # End of utf8 tests 606s TAP version 14 606s # random seed: R02S44ed6be62b3cb499872b811aebfce312 606s 1..2 606s # Start of gtask tests 606s # 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. 606s ok 1 /gtask/name 606s # Start of name tests 606s # 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. 606s ok 2 /gtask/name/macro-wrapper 606s # End of name tests 606s # End of gtask tests 606s # Running test: glib/test-printf.test 606s ok - glib/test-printf.test 606s # Running test: glib/utf8-validate.test 606s ok - glib/utf8-validate.test 606s # Running test: glib/cxx-14.test 606s ok - glib/cxx-14.test 606s # Running test: glib/memory-monitor-portal.test 606s TAP version 13 606s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 606s 1..1 606s ok - glib/memory-monitor-portal.test 606s # Running test: glib/contexts.test 606s TAP version 14 606s # random seed: R02Seb6513d06de7530cabcdad5acdc233a4 606s 1..5 606s # Start of gio tests 606s # Start of contexts tests 606s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 606s ok 1 /gio/contexts/thread-independence 606s ok 2 /gio/contexts/context-independence 606s # Start of context-specific tests 606s ok 3 /gio/contexts/context-specific/identity 606s ok - glib/contexts.test 606s # Running test: glib/spawn-test.test 606s ok 4 /gio/contexts/context-specific/emit 606s ok 5 /gio/contexts/context-specific/emit-and-unref 606s # End of context-specific tests 606s # End of contexts tests 606s # End of gio tests 606s TAP version 14 606s # random seed: R02S6f1aea4176388557325dbbbd39e00fb2 606s 1..2 606s # Start of spawn tests 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_2P3HE3/spawn/basics/.dirs/runtime 606s ok 1 /spawn/basics 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_2P3HE3/spawn/stdio-overwrite/.dirs/runtime 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 606s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 606s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 606s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 606s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 606s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 606s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 606s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 606s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 606s # Fetching GSpawn result output with stdin open, stdout open, stderr open 606s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 606s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 606s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 606s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 606s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 606s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 606s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 606s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 606s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 606s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 606s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 606s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 606s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 606s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 606s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 606s # Fetching GSpawn result with stdin open, stdout open, stderr open 606s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 606s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 606s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 606s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 606s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 606s ok - glib/spawn-test.test 606s # Running test: glib/actions.test 606s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 606s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 606s ok 2 /spawn/stdio-overwrite 606s # End of spawn tests 606s TAP version 14 606s # random seed: R02S22e1ae842c53eed105589f9695a0619c 606s 1..13 606s # Start of actions tests 606s ok 1 /actions/basic 606s ok 2 /actions/name 606s ok 3 /actions/simplegroup 606s ok 4 /actions/stateful 606s ok 5 /actions/default-activate 606s ok 6 /actions/entries 606s ok 7 /actions/parse-detailed 606s ok 8 /actions/property 606s ok 9 /actions/no-properties 606s # Start of dbus tests 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s ok 10 /actions/dbus/export 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 606s # Executing: glib/actions.test 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s ok 11 /actions/dbus/threaded 606s # slow test /actions/dbus/threaded executed in 0.67 secs 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s ok 12 /actions/dbus/bug679509 607s # Start of export tests 607s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s ok 13 /actions/dbus/export/error-handling 607s # End of export tests 607s # End of dbus tests 607s # End of actions tests 607s ok - glib/actions.test 607s # Running test: glib/pathbuf.test 607s TAP version 14 607s # random seed: R02S9fd24230e248f41b32f55b1f3db2edfb 607s 1..3 607s # Start of pathbuf tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7LBME3/pathbuf/init/.dirs/runtime 607s # Initializing empty path buf 607s # Initializing with empty path 607s # Initializing with full path 607s # Initializing with no path 607s # Allocating GPathBuf on the heap 607s ok 1 /pathbuf/init 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7LBME3/pathbuf/push-pop/.dirs/runtime 607s # Pushing relative path component 607s # Pushing absolute path component 607s # Popping a path component 607s # Can't pop the last element of a path buffer 607s ok - glib/pathbuf.test 607s ok 2 /pathbuf/push-pop 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7LBME3/pathbuf/filename-extension/.dirs/runtime 607s ok 3 /pathbuf/filename-extension 607s # End of pathbuf tests 607s # Running test: glib/type-flags.test 607s TAP version 14 607s # random seed: R02Sa64be16333ae827519b85461f18b81aa 607s 1..4 607s # Start of type tests 607s # Start of flags tests 607s ok 1 /type/flags/interface 607s ok 2 /type/flags/final 607s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 607s ok 3 /type/flags/deprecated 607s ok - glib/type-flags.test 607s # Running test: glib/macros-c-11.test 607s ok - glib/macros-c-11.test 607s # Running test: glib/bindinggroup.test 607s ok - glib/bindinggroup.test 607s # Running test: glib/struct-info.test 607s ok - glib/struct-info.test 607s # Running test: glib/spawn-path-search.test 607s ok - glib/spawn-path-search.test 607s # Running test: glib/gdbus-serialization.test 607s # Start of final tests 607s ok 4 /type/flags/final/instance-check 607s # End of final tests 607s # End of flags tests 607s # End of type tests 607s TAP version 14 607s # random seed: R02S11630060d826ca2d7dc7166cb2b66fc3 607s 1..4 607s # Start of C tests 607s ok 1 /C/standard-11 607s # End of C tests 607s # Start of alignof tests 607s ok 2 /alignof/fallback 607s # End of alignof tests 607s # Start of assert tests 607s ok 3 /assert/static 607s # End of assert tests 607s # Start of struct tests 607s ok 4 /struct/sizeof_member 607s # End of struct tests 607s TAP version 14 607s # random seed: R02S1a77e5f00b7777e951fccdde68afc5c6 607s 1..11 607s # Start of GObject tests 607s # Start of BindingGroup tests 607s ok 1 /GObject/BindingGroup/invalid 607s ok 2 /GObject/BindingGroup/default 607s ok 3 /GObject/BindingGroup/bidirectional 607s ok 4 /GObject/BindingGroup/transform 607s ok 5 /GObject/BindingGroup/transform-closures 607s ok 6 /GObject/BindingGroup/same-object 607s ok 7 /GObject/BindingGroup/weak-ref-source 607s ok 8 /GObject/BindingGroup/weak-ref-target 607s ok 9 /GObject/BindingGroup/properties 607s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 607s ok 11 /GObject/BindingGroup/empty-closures 607s # End of BindingGroup tests 607s # End of GObject tests 607s TAP version 14 607s # random seed: R02S943a19ef921b2f0e62b7f3007a718757 607s 1..4 607s # Start of struct-info tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ZKRLE3/struct-info/field-iterators/.dirs/runtime 607s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 607s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 607s ok 1 /struct-info/field-iterators 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ZKRLE3/struct-info/sizeof-gvalue/.dirs/runtime 607s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 607s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 607s ok 2 /struct-info/sizeof-gvalue 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ZKRLE3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 607s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 607s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 607s ok 3 /struct-info/is-pointer-for-struct-method-arg 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ZKRLE3/struct-info/boxed/.dirs/runtime 607s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 607s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 607s ok 4 /struct-info/boxed 607s # End of struct-info tests 607s TAP version 14 607s # random seed: R02S21103bf8740bc2e9ab140a07b6419b52 607s 1..7 607s # Start of spawn tests 607s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 607s # 607s # this is spawn-test-helper from glib/tests 607s # 607s ok 1 /spawn/do-not-search 607s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 607s # 607s # this is spawn-test-helper from path-test-subdir 607s # 607s ok 2 /spawn/search-path 607s # /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. 607s # 607s # this is spawn-test-helper from path-test-subdir 607s # 607s ok 3 /spawn/search-path-from-envp 607s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 607s # 607s # this is spawn-test-helper from path-test-subdir 607s # 607s ok 4 /spawn/search-path-ambiguous 607s # 607s # this is spawn-test-helper from path-test-subdir 607s # 607s ok 5 /spawn/search-path-heap-allocation 607s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 607s # 607s # this is spawn-test-helper from glib/tests 607s # 607s ok 6 /spawn/search-path-fallback-in-environ 607s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 607s # 607s # this is spawn-test-helper from glib/tests 607s # 607s ok 7 /spawn/search-path-fallback-in-envp 607s # End of spawn tests 607s TAP version 14 607s # random seed: R02S982d3f793c914c3190bd7f7a2df6bd74 607s 1..18 607s # Start of gdbus tests 607s # Start of message-serialize tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/basic/.dirs/runtime 607s ok 1 /gdbus/message-serialize/basic 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/complex/.dirs/runtime 607s ok 2 /gdbus/message-serialize/complex 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/invalid/.dirs/runtime 607s ok 3 /gdbus/message-serialize/invalid 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/.dirs/runtime 607s ok 4 /gdbus/message-serialize/header-checks 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/double-array/.dirs/runtime 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 607s ok 5 /gdbus/message-serialize/double-array 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/empty-structure/.dirs/runtime 607s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 607s ok 6 /gdbus/message-serialize/empty-structure 607s # Start of header-checks tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 607s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 607s ok 7 /gdbus/message-serialize/header-checks/valid 607s # End of header-checks tests 607s # End of message-serialize tests 607s # Start of message-parse tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 607s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/non-signature-header/.dirs/runtime 607s ok 9 /gdbus/message-parse/non-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-signature-header/.dirs/runtime 607s ok 10 /gdbus/message-parse/empty-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 607s ok 11 /gdbus/message-parse/multiple-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 607s ok 12 /gdbus/message-parse/over-long-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 607s ok 13 /gdbus/message-parse/deep-header-nesting 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 607s ok 14 /gdbus/message-parse/deep-body-nesting 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/truncated/.dirs/runtime 607s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 607s ok 15 /gdbus/message-parse/truncated 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/config 607s ok - glib/gdbus-serialization.test 607s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 607s ok - glib/gdbus-test-codegen-min-required-2-64.test 607s # Running test: glib/thread-pool-slow.test 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/empty-structure/.dirs/runtime 607s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 607s ok 16 /gdbus/message-parse/empty-structure 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/missing-header/.dirs/runtime 607s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 607s ok 17 /gdbus/message-parse/missing-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_NQHLE3/gdbus/message-parse/invalid-header-type/.dirs/runtime 607s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 607s ok 18 /gdbus/message-parse/invalid-header-type 607s # End of message-parse tests 607s # End of gdbus tests 607s TAP version 14 607s # random seed: R02S3d5f3fa2ff68a65fd7534197cb781b2a 607s 1..8 607s # Start of gdbus tests 607s # Start of codegen tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/annotations/.dirs/runtime 607s ok 1 /gdbus/codegen/annotations 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/interface_stability/.dirs/runtime 607s ok 2 /gdbus/codegen/interface_stability 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/object-manager/.dirs/runtime 607s ok 3 /gdbus/codegen/object-manager 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/property-naming/.dirs/runtime 607s ok 4 /gdbus/codegen/property-naming 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/autocleanups/.dirs/runtime 607s ok 5 /gdbus/codegen/autocleanups 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/deprecations/.dirs/runtime 607s ok 6 /gdbus/codegen/deprecations 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/standalone-interface-info/.dirs/runtime 607s ok 7 /gdbus/codegen/standalone-interface-info 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HCPLE3/gdbus/codegen/unix-fd-list/.dirs/runtime 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 607s ok 8 /gdbus/codegen/unix-fd-list 607s # End of codegen tests 607s # End of gdbus tests 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s TAP version 14 607s # random seed: R02Sfc5eafa94a6a1b0d5591ceb2af6355a8 607s 1..7 607s # Start of threadpool tests 607s ok 1 /threadpool/functions 607s ok 2 /threadpool/stop-unused 607s # slow test /threadpool/stop-unused executed in 0.51 secs 607s ok 3 /threadpool/pools 607s # [unsorted] ===> pushed new thread with id:44, number of threads:1, unprocessed:0 607s # [unsorted] ===> pushed new thread with id:67, number of threads:2, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:45, number of threads:3, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:63, number of threads:4, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:67, number of threads:5, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:10, number of threads:6, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:11, number of threads:7, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:25, number of threads:8, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:19, number of threads:9, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:1 607s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:2 607s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:3 607s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:4 607s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:5 607s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:6 607s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:7 607s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:8 607s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:9 607s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:10 607s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:11 607s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:12 607s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:13 607s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:14 607s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:15 607s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:16 607s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:17 607s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:18 607s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:19 607s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:20 607s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:21 607s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:22 607s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:23 607s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:24 607s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:25 607s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:26 607s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:27 607s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:28 607s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:29 607s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:30 607s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:31 607s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:32 607s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:33 607s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:34 607s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:35 607s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:36 607s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:37 607s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:38 607s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:39 607s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:40 607s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:41 607s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:42 607s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:43 607s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:44 607s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:45 607s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:46 607s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:47 607s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:48 607s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:49 607s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:50 607s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:51 607s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:52 607s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:53 607s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:54 607s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:55 607s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:56 607s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:57 607s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:58 607s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:59 607s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60 607s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:61 607s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:62 607s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:63 607s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:64 607s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:65 607s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:66 607s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:67 607s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:68 607s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:69 607s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:70 607s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:71 607s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:72 607s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:73 607s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:74 607s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:75 607s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:76 607s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:77 607s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:78 607s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:79 607s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:80 607s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:81 607s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:82 607s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:83 607s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:84 607s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:85 607s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:86 607s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:87 607s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:88 607s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:89 607s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:90 607s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:91 607s ok 4 /threadpool/no-sort 607s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:1 607s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:2 607s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:3 607s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:4 607s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:5 607s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:6 607s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:7 607s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:8 607s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:9 607s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:10 607s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:11 607s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:12 607s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:13 607s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:14 607s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:15 607s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:16 607s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:17 607s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:18 607s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:19 607s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:20 607s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:21 607s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:22 607s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:23 607s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:24 607s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:25 607s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:26 607s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:27 607s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:28 607s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:29 607s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:30 607s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:31 607s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:32 607s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:33 607s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:34 607s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:35 607s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:36 607s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:37 607s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:38 607s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:39 607s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:40 607s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:41 607s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:42 607s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:43 607s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:44 607s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:45 607s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 607s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:47 607s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:48 607s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49 607s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:50 607s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:51 607s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:52 607s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:53 607s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:54 607s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:55 607s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:56 607s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:57 607s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:58 607s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:59 607s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:60 607s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:61 607s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:62 607s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:63 607s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:64 607s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:65 607s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:66 607s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:67 607s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:68 607s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:69 607s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:70 607s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:71 607s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:72 607s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:73 607s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:74 607s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:75 607s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:76 607s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:77 607s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:78 607s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:79 607s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:80 607s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:81 607s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:82 607s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:83 607s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:84 607s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:85 607s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:86 607s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:87 607s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:88 607s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:89 607s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:90 607s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:91 607s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:92 607s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:93 607s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:94 607s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:95 607s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:96 607s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:97 607s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:98 607s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:99 607s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:100 607s # Starting thread pool processing 607s ok 5 /threadpool/sort 608s ok 6 /threadpool/stop-unused-multiple 608s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 608s # Pool idle thread count: 0, unprocessed jobs: 48 608s # Pool idle thread count: 0, unprocessed jobs: 0 608s # Pool idle thread count: 0, unprocessed jobs: 0 609s # Pool idle thread count: 10, unprocessed jobs: 0 609s # Pool idle thread count: 10, unprocessed jobs: 0 609s # Pool idle thread count: 10, unprocessed jobs: 0 609s # Pool idle thread count: 10, unprocessed jobs: 0 610s # Pool idle thread count: 10, unprocessed jobs: 0 610s # Pool idle thread count: 10, unprocessed jobs: 0 610s # Pool idle thread count: 10, unprocessed jobs: 0 610s # Pool idle thread count: 10, unprocessed jobs: 0 611s # Pool idle thread count: 10, unprocessed jobs: 0 611s # Pool idle thread count: 10, unprocessed jobs: 0 611s # Executing: glib/thread-pool-slow.test 611s # Pool idle thread count: 10, unprocessed jobs: 0 611s # Pool idle thread count: 10, unprocessed jobs: 0 612s # Pool idle thread count: 10, unprocessed jobs: 0 612s # Pool idle thread count: 10, unprocessed jobs: 0 612s # Pool idle thread count: 10, unprocessed jobs: 0 612s # Pool idle thread count: 10, unprocessed jobs: 0 613s # Pool idle thread count: 10, unprocessed jobs: 0 613s # Pool idle thread count: 10, unprocessed jobs: 0 613s # Pool idle thread count: 10, unprocessed jobs: 0 613s # Pool idle thread count: 10, unprocessed jobs: 0 614s # Pool idle thread count: 10, unprocessed jobs: 0 614s # Pool idle thread count: 10, unprocessed jobs: 0 614s # Pool idle thread count: 10, unprocessed jobs: 0 614s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 615s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Executing: glib/thread-pool-slow.test 616s # Pool idle thread count: 10, unprocessed jobs: 0 616s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 9, unprocessed jobs: 2 617s # Pool idle thread count: 9, unprocessed jobs: 2 617s # Pool idle thread count: 8, unprocessed jobs: 0 617s # Pool idle thread count: 8, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 617s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 618s # Pool idle thread count: 10, unprocessed jobs: 0 619s # Pool idle thread count: 2, unprocessed jobs: 0 619s # Pool idle thread count: 2, unprocessed jobs: 0 619s # Pool idle thread count: 2, unprocessed jobs: 0 619s # Pool idle thread count: 2, unprocessed jobs: 0 620s # Pool idle thread count: 2, unprocessed jobs: 0 620s # Pool idle thread count: 2, unprocessed jobs: 0 620s # Pool idle thread count: 2, unprocessed jobs: 0 620s # Pool idle thread count: 2, unprocessed jobs: 0 621s # Pool idle thread count: 2, unprocessed jobs: 0 621s # Pool idle thread count: 2, unprocessed jobs: 0 621s # Executing: glib/thread-pool-slow.test 621s # Pool idle thread count: 2, unprocessed jobs: 0 621s # Pool idle thread count: 2, unprocessed jobs: 0 622s # Pool idle thread count: 2, unprocessed jobs: 0 622s # Pool idle thread count: 2, unprocessed jobs: 0 622s # Pool idle thread count: 2, unprocessed jobs: 0 622s # Pool idle thread count: 2, unprocessed jobs: 0 623s # Pool idle thread count: 2, unprocessed jobs: 0 623s # Pool idle thread count: 2, unprocessed jobs: 0 623s # Pool idle thread count: 2, unprocessed jobs: 0 623s # Pool idle thread count: 2, unprocessed jobs: 0 624s # Pool idle thread count: 2, unprocessed jobs: 0 624s # Pool idle thread count: 2, unprocessed jobs: 0 624s # Pool idle thread count: 2, unprocessed jobs: 0 624s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 625s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Executing: glib/thread-pool-slow.test 626s # Pool idle thread count: 2, unprocessed jobs: 0 626s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 627s # Pool idle thread count: 2, unprocessed jobs: 0 627s ok 7 /threadpool/idle-time 627s # slow test /threadpool/idle-time executed in 19.52 secs 627s # End of threadpool tests 627s ok - glib/thread-pool-slow.test 627s # Running test: glib/gdbus-non-socket.test 627s TAP version 14 627s # random seed: R02S072f20c77b4941644d56dbe46f75512f 627s 1..1 627s # Start of gdbus tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/cache 627s ok - glib/gdbus-non-socket.test 627s # Running test: glib/notify-init2.test 627s ok - glib/notify-init2.test 627s # Running test: glib/properties-refcount4.test 627s ok - glib/properties-refcount4.test 627s # Running test: glib/utils-c-11.test 627s ok - glib/utils-c-11.test 627s # Running test: glib/charset.test 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_QUWSE3/gdbus/non-socket/.dirs/runtime 627s ok 1 /gdbus/non-socket 627s # End of gdbus tests 627s TAP version 14 627s # random seed: R02S4144a5eae3e212db5f6a6c40ad4f4884 627s 1..1 627s # Start of properties tests 627s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 627s ok 1 /properties/notify-in-init2 627s # End of properties tests 627s TAP version 14 627s # random seed: R02Se483c849e6c4a99a49c924148805855e 627s 1..1 627s # Start of gobject tests 627s # Start of refcount tests 627s ok 1 /gobject/refcount/properties-4 627s # End of refcount tests 627s # End of gobject tests 627s TAP version 14 627s # random seed: R02Sf353651a4a9dfd7d7ea8f176c5d4686d 627s 1..41 627s # Start of utils tests 627s ok 1 /utils/language-names 627s # Testing locale ‘en’ 627s # Testing locale ‘sr@latin’ 627s # Testing locale ‘fr_BE’ 627s # Testing locale ‘sr_SR@latin’ 627s # Testing locale ‘sr_SR@latin.UTF-8’ 627s # Testing locale ‘sr@latin_invalid’ 627s # Testing locale ‘sr.UTF-8@latin’ 627s # Testing locale ‘sr.UTF-8_latin’ 627s # Testing locale ‘sr.UTF-8@latin_invalid’ 627s ok 2 /utils/locale-variants 627s ok 3 /utils/version 627s ok 4 /utils/appname 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 627s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 627s ok 5 /utils/prgname-thread-safety 627s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 627s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 627s ok 6 /utils/tmpdir 627s ok 7 /utils/basic_bits 627s ok 8 /utils/bits 627s ok 9 /utils/swap 627s ok 10 /utils/find-program 627s ok 11 /utils/find-program-for-path 627s ok 12 /utils/debug 627s ok 13 /utils/codeset 627s ok 14 /utils/codeset2 627s ok 15 /utils/console-charset 627s ok 16 /utils/gettext 627s ok 17 /utils/username 627s ok 18 /utils/realname 627s ok 19 /utils/hostname 627s ok 20 /utils/xdgdirs 627s ok 21 /utils/specialdir 627s # NAME: Ubuntu 627s ok 22 /utils/os-info 627s ok 23 /utils/clear-pointer 627s ok 24 /utils/clear-pointer-cast 627s ok 25 /utils/take-pointer 627s ok 26 /utils/clear-source 627s ok 27 /utils/misc-mem 627s # /utils/aligned-mem summary: Aligned memory allocator 627s # Alignment must not be zero 627s # Alignment must be a power of two 627s # Alignment must be a multiple of sizeof(void*) 627s ok 28 /utils/aligned-mem 627s # /utils/free-sized summary: Check that g_free_sized() works 627s ok 29 /utils/free-sized 627s ok 30 /utils/nullify 627s ok 31 /utils/atexit 627s ok 32 /utils/check-setuid 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 627s ok 33 /utils/int-limits 627s ok 34 /utils/clear-list 627s ok 35 /utils/clear-slist 627s ok 36 /utils/steal-handle-id 627s # Start of specialdir tests 627s ok 37 /utils/specialdir/desktop 627s # End of specialdir tests 627s # Start of clear-pointer tests 627s ok 38 /utils/clear-pointer/side-effects 627s # End of clear-pointer tests 627s # Start of aligned-mem tests 627s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 627s ok 39 /utils/aligned-mem/alignment 627s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 627s ok 40 /utils/aligned-mem/zeroed 627s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 627s ok 41 /utils/aligned-mem/free-sized 627s # Start of subprocess tests 627s # End of subprocess tests 627s # End of aligned-mem tests 627s # End of utils tests 627s TAP version 14 627s # random seed: R02Sdef995fc623bb9d72c10066f1edfd493 627s 1..2 627s # Start of charset tests 627s # Test 0 627s # Test 1 627s # Test 2 627s # Test 3 627s ok 1 /charset/language_names_with_category 627s ok 2 /charset/language_names_with_category_async 627s # End of charset tests 627s TAP version 14 627s # random seed: R02S6395b0f599e1536c176ad991e38a7245 627s 1..1 627s # Start of gobject tests 627s # Start of refcount tests 627s ok - glib/charset.test 627s # Running test: glib/properties-refcount3.test 631s # Executing: glib/properties-refcount3.test 636s # Executing: glib/properties-refcount3.test 641s # Executing: glib/properties-refcount3.test 646s # Executing: glib/properties-refcount3.test 651s # Executing: glib/properties-refcount3.test 656s # Executing: glib/properties-refcount3.test 657s # 657s # stopping 657s # 657s # stopped 657s # 657s ok - glib/properties-refcount3.test 657s # 47581709 502942 657s # 657s ok 1 /gobject/refcount/properties-3 657s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 657s # End of refcount tests 657s # End of gobject tests 657s # Running test: glib/thumbnail-verification.test 657s TAP version 14 657s # random seed: R02Sa2586b1caf2af18a68676a7f9fe8fc53 657s ok - glib/thumbnail-verification.test 657s 1..1 657s # Start of png-thumbs tests 657s ok 1 /png-thumbs/validity 657s # End of png-thumbs tests 657s # Running test: glib/rec-mutex.test 657s ok - glib/rec-mutex.test 657s # Running test: glib/array-test.test 657s TAP version 14 657s # random seed: R02S6e22b7e3f293e54d50c48ee20912e902 657s 1..29 657s # Start of thread tests 657s ok 1 /thread/rec-mutex1 657s ok 2 /thread/rec-mutex2 657s ok 3 /thread/rec-mutex3 657s ok 4 /thread/rec-mutex4 657s # Start of rec-mutex tests 657s # Start of perf tests 657s # Start of uncontended tests 657s # max perf: 1.000000 mips 657s ok 5 /thread/rec-mutex/perf/uncontended/depth1 657s # max perf: inf mips 657s ok 6 /thread/rec-mutex/perf/uncontended/depth2 657s # max perf: inf mips 657s ok 7 /thread/rec-mutex/perf/uncontended/depth3 657s # max perf: inf mips 657s ok 8 /thread/rec-mutex/perf/uncontended/depth4 657s # max perf: inf mips 657s ok 9 /thread/rec-mutex/perf/uncontended/depth5 657s # End of uncontended tests 657s # Start of contended1 tests 657s # max perf: inf mips 657s ok 10 /thread/rec-mutex/perf/contended1/depth1 657s # max perf: 2.000000 mips 657s ok 11 /thread/rec-mutex/perf/contended1/depth2 657s # max perf: inf mips 657s ok 12 /thread/rec-mutex/perf/contended1/depth3 657s # max perf: 2.000000 mips 657s ok 13 /thread/rec-mutex/perf/contended1/depth4 657s # max perf: inf mips 657s ok 14 /thread/rec-mutex/perf/contended1/depth5 657s # End of contended1 tests 657s # Start of contended2 tests 657s # max perf: inf mips 657s ok 15 /thread/rec-mutex/perf/contended2/depth1 657s # max perf: inf mips 657s ok 16 /thread/rec-mutex/perf/contended2/depth2 657s # max perf: inf mips 657s ok 17 /thread/rec-mutex/perf/contended2/depth3 657s # max perf: inf mips 657s ok 18 /thread/rec-mutex/perf/contended2/depth4 657s # max perf: 3.000000 mips 657s ok 19 /thread/rec-mutex/perf/contended2/depth5 657s # End of contended2 tests 657s # Start of contended3 tests 657s # max perf: inf mips 657s ok 20 /thread/rec-mutex/perf/contended3/depth1 657s # max perf: 4.000000 mips 657s ok 21 /thread/rec-mutex/perf/contended3/depth2 657s # max perf: inf mips 657s ok 22 /thread/rec-mutex/perf/contended3/depth3 657s # max perf: 4.000000 mips 657s ok 23 /thread/rec-mutex/perf/contended3/depth4 657s # max perf: 2.000000 mips 657s ok 24 /thread/rec-mutex/perf/contended3/depth5 657s # End of contended3 tests 657s # Start of contended4 tests 657s # max perf: 5.000000 mips 657s ok 25 /thread/rec-mutex/perf/contended4/depth1 657s # max perf: 5.000000 mips 657s ok 26 /thread/rec-mutex/perf/contended4/depth2 657s # max perf: 5.000000 mips 657s ok 27 /thread/rec-mutex/perf/contended4/depth3 657s # max perf: 2.500000 mips 657s ok 28 /thread/rec-mutex/perf/contended4/depth4 657s # max perf: 2.500000 mips 657s ok 29 /thread/rec-mutex/perf/contended4/depth5 657s # End of contended4 tests 657s # End of perf tests 657s # End of rec-mutex tests 657s # End of thread tests 657s TAP version 14 657s # random seed: R02S636e6bb48070932951c03bb9f17660dc 657s 1..120 657s # Start of array tests 657s ok 1 /array/ref-count 657s ok 2 /array/steal 657s ok 3 /array/clear-func 657s ok 4 /array/binary-search 657s ok 5 /array/overflow-append-vals 657s ok 6 /array/overflow-set-size 657s # Start of new tests 657s ok 7 /array/new/zero-terminated 657s ok 8 /array/new/take 657s ok 9 /array/new/take-zero-terminated 657s # Start of take tests 657s ok 10 /array/new/take/empty 657s ok 11 /array/new/take/overflow 657s ok 12 /array/new/take/zero-size 657s # End of take tests 657s # Start of take-zero-terminated tests 657s ok 13 /array/new/take-zero-terminated/zero-size 657s ok 14 /array/new/take-zero-terminated/null 657s # End of take-zero-terminated tests 657s # End of new tests 657s # Start of copy tests 657s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 657s ok 15 /array/copy/sized 657s ok 16 /array/copy/zero-terminated 657s ok 17 /array/copy/non-zero-terminated-no-clear 657s ok 18 /array/copy/non-zero-terminated-clear 657s ok 19 /array/copy/zero-terminated-no-clear 657s ok 20 /array/copy/zero-terminated-clear 657s # End of copy tests 657s # Start of remove-range tests 657s ok 21 /array/remove-range/zero-terminated-null 657s ok 22 /array/remove-range/non-zero-terminated-no-clear 657s ok 23 /array/remove-range/non-zero-terminated-clear 657s ok 24 /array/remove-range/zero-terminated-no-clear 657s ok 25 /array/remove-range/zero-terminated-clear 657s # End of remove-range tests 657s # Start of set-size tests 657s ok 26 /array/set-size/zero-terminated-null 657s ok 27 /array/set-size/non-zero-terminated-no-clear 657s ok 28 /array/set-size/non-zero-terminated-clear 657s ok 29 /array/set-size/zero-terminated-no-clear 657s ok 30 /array/set-size/zero-terminated-clear 657s # Start of sized tests 657s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 657s ok 32 /array/set-size/sized/non-zero-terminated-clear 657s ok 33 /array/set-size/sized/zero-terminated-no-clear 657s ok 34 /array/set-size/sized/zero-terminated-clear 657s # End of sized tests 657s # End of set-size tests 657s # Start of append-val tests 657s ok 35 /array/append-val/non-zero-terminated-no-clear 657s ok 36 /array/append-val/non-zero-terminated-clear 657s ok 37 /array/append-val/zero-terminated-no-clear 657s ok 38 /array/append-val/zero-terminated-clear 657s # End of append-val tests 657s # Start of prepend-val tests 657s ok 39 /array/prepend-val/non-zero-terminated-no-clear 657s ok 40 /array/prepend-val/non-zero-terminated-clear 657s ok 41 /array/prepend-val/zero-terminated-no-clear 657s ok 42 /array/prepend-val/zero-terminated-clear 657s # End of prepend-val tests 657s # Start of prepend-vals tests 657s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 657s ok 44 /array/prepend-vals/non-zero-terminated-clear 657s ok 45 /array/prepend-vals/zero-terminated-no-clear 657s ok 46 /array/prepend-vals/zero-terminated-clear 657s # End of prepend-vals tests 657s # Start of insert-vals tests 657s ok 47 /array/insert-vals/non-zero-terminated-no-clear 657s ok 48 /array/insert-vals/non-zero-terminated-clear 657s ok 49 /array/insert-vals/zero-terminated-no-clear 657s ok 50 /array/insert-vals/zero-terminated-clear 657s # End of insert-vals tests 657s # Start of remove-index tests 657s ok 51 /array/remove-index/non-zero-terminated-no-clear 657s ok 52 /array/remove-index/non-zero-terminated-clear 657s ok 53 /array/remove-index/zero-terminated-no-clear 657s ok 54 /array/remove-index/zero-terminated-clear 657s # End of remove-index tests 657s # Start of remove-index-fast tests 657s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 657s ok 56 /array/remove-index-fast/non-zero-terminated-clear 657s ok 57 /array/remove-index-fast/zero-terminated-no-clear 657s ok 58 /array/remove-index-fast/zero-terminated-clear 657s # End of remove-index-fast tests 657s # Start of sort tests 657s ok 59 /array/sort/non-zero-terminated-no-clear 657s ok 60 /array/sort/non-zero-terminated-clear 657s ok 61 /array/sort/zero-terminated-no-clear 657s ok 62 /array/sort/zero-terminated-clear 657s # End of sort tests 657s # Start of sort-with-data tests 657s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 657s ok 64 /array/sort-with-data/non-zero-terminated-clear 657s ok 65 /array/sort-with-data/zero-terminated-no-clear 657s ok 66 /array/sort-with-data/zero-terminated-clear 657s # End of sort-with-data tests 657s # End of array tests 657s # Start of pointerarray tests 657s ok 67 /pointerarray/add 657s ok 68 /pointerarray/insert 657s ok 69 /pointerarray/new-take 657s ok 70 /pointerarray/new-take-null-terminated 657s ok 71 /pointerarray/new-from-array 657s ok 72 /pointerarray/new-from-null-terminated-array 657s ok 73 /pointerarray/free-func 657s ok 74 /pointerarray/array_extend_and_steal 657s ok 75 /pointerarray/sort 657s ok 76 /pointerarray/sort-with-data 657s ok 77 /pointerarray/sort-values 657s ok 78 /pointerarray/sort-values-with-data 657s ok 79 /pointerarray/remove-range 657s ok 80 /pointerarray/steal 657s # Start of free tests 657s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 657s ok 81 /pointerarray/free/null-terminated 657s # End of free tests 657s # Start of new-take tests 657s ok 82 /pointerarray/new-take/empty 657s ok 83 /pointerarray/new-take/overflow 657s ok 84 /pointerarray/new-take/with-free-func 657s # End of new-take tests 657s # Start of new-take-null-terminated tests 657s ok 85 /pointerarray/new-take-null-terminated/empty 657s ok 86 /pointerarray/new-take-null-terminated/with-free-func 657s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 657s # End of new-take-null-terminated tests 657s # Start of new-from-array tests 657s ok 88 /pointerarray/new-from-array/empty 657s ok 89 /pointerarray/new-from-array/overflow 657s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 657s # End of new-from-array tests 657s # Start of new-from-null-terminated-array tests 657s ok 91 /pointerarray/new-from-null-terminated-array/empty 657s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 657s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 657s # End of new-from-null-terminated-array tests 657s # Start of ref-count tests 657s ok 94 /pointerarray/ref-count/not-null-terminated 657s ok 95 /pointerarray/ref-count/null-terminated 657s # End of ref-count tests 657s # Start of array_copy tests 657s # /pointerarray/array_copy/not-null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 657s ok 96 /pointerarray/array_copy/not-null-terminated 657s # /pointerarray/array_copy/null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 657s ok 97 /pointerarray/array_copy/null-terminated 657s # End of array_copy tests 657s # Start of array_extend tests 657s ok 98 /pointerarray/array_extend/not-null-terminated 657s ok 99 /pointerarray/array_extend/null-terminated 657s # End of array_extend tests 657s # Start of sort tests 657s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 657s ok 100 /pointerarray/sort/example 657s # End of sort tests 657s # Start of sort-with-data tests 657s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 657s ok 101 /pointerarray/sort-with-data/example 657s # End of sort-with-data tests 657s # Start of sort-values tests 657s ok 102 /pointerarray/sort-values/example 657s # End of sort-values tests 657s # Start of sort-values-with-data tests 657s ok 103 /pointerarray/sort-values-with-data/example 657s # End of sort-values-with-data tests 657s # Start of find tests 657s ok 104 /pointerarray/find/empty 657s ok 105 /pointerarray/find/non-empty 657s # End of find tests 657s # Start of steal_index tests 657s ok 106 /pointerarray/steal_index/not-null-terminated 657s ok 107 /pointerarray/steal_index/null-terminated 657s # End of steal_index tests 657s # End of pointerarray tests 657s # Start of bytearray tests 657s ok 108 /bytearray/steal 657s ok 109 /bytearray/append 657s ok 110 /bytearray/prepend 657s ok 111 /bytearray/remove 657s ok 112 /bytearray/remove-fast 657s ok 113 /bytearray/remove-range 657s ok 114 /bytearray/ref-count 657s ok 115 /bytearray/set-size 657s ok 116 /bytearray/sort 657s ok 117 /bytearray/sort-with-data 657s ok 118 /bytearray/new-take 657s ok 119 /bytearray/new-take-overflow 657s ok 120 /bytearray/free-to-bytes 657s # End of bytearray tests 657s TAP version 14 657s # random seed: R02S5b8fccbe522de5e68bb2bcfb911c97cc 657s 1..4 657s # Start of repository tests 657s # Start of search-paths tests 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/default/.dirs/runtime 657s ok 1 /repository/search-paths/default 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NDR1E3/repository/search-paths/prepend/.dirs/runtime 657s ok 2 /repository/search-paths/prepend 657s # End of search-paths tests 657s # Start of library-paths tests 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/default/.dirs/runtime 657s ok 3 /repository/library-paths/default 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NDR1E3/repository/library-paths/prepend/.dirs/runtime 657s ok 4 /repository/library-paths/prepend 657s # End of library-paths tests 657s # End of repository tests 657s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 657s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 657s and make sure you have glib build dependencies installed, including 657s meson. 657s ok - glib/array-test.test 657s # Running test: glib/repository-search-paths.test 657s ok - glib/repository-search-paths.test 657s # Running test: glib/static-link.test 657s ok # SKIP - glib/static-link.test 657s # Running test: glib/markup-subparser.test 657s ok - glib/markup-subparser.test 657s # Running test: glib/param.test 657s TAP version 14 657s # random seed: R02S7dfb103ac14df89774dfe8d9c983488e 657s 1..14 657s # Start of glib tests 657s # Start of markup tests 657s # Start of subparser tests 657s # Start of success tests 657s ok 1 /glib/markup/subparser/success/0 657s ok 2 /glib/markup/subparser/success/1 657s ok 3 /glib/markup/subparser/success/2 657s ok 4 /glib/markup/subparser/success/3 657s ok 5 /glib/markup/subparser/success/4 657s ok 6 /glib/markup/subparser/success/5 657s ok 7 /glib/markup/subparser/success/6 657s # End of success tests 657s # Start of failure tests 657s ok 8 /glib/markup/subparser/failure/0 657s ok 9 /glib/markup/subparser/failure/1 657s ok 10 /glib/markup/subparser/failure/2 657s ok 11 /glib/markup/subparser/failure/3 657s ok 12 /glib/markup/subparser/failure/4 657s ok 13 /glib/markup/subparser/failure/5 657s ok 14 /glib/markup/subparser/failure/6 657s # End of failure tests 657s # End of subparser tests 657s # End of markup tests 657s # End of glib tests 657s TAP version 14 657s # random seed: R02Sed51962019d7a4340793d827453f77e6 658s 1..32 658s # Start of param tests 658s ok 1 /param/value 658s ok 2 /param/strings 658s ok 3 /param/qdata 658s ok 4 /param/validate 658s ok 5 /param/convert 658s ok 6 /param/implement # SKIP Skipping slow /param/implement test 658s ok 7 /param/default 658s ok 8 /param/is-valid-name 658s # Start of invalid-name tests 658s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 658s ok 9 /param/invalid-name/colon 658s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 658s ok 10 /param/invalid-name/first-char 658s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 658s ok 11 /param/invalid-name/empty 658s # End of invalid-name tests 658s # Start of implement tests 658s # Start of subprocess tests 658s # End of subprocess tests 658s # End of implement tests 658s # End of param tests 658s # Start of value tests 658s ok 12 /value/transform 658s # End of value tests 658s # Start of paramspec tests 658s ok 13 /paramspec/char 658s ok 14 /paramspec/uchar 658s ok 15 /paramspec/int 658s ok 16 /paramspec/uint 658s ok 17 /paramspec/long 658s ok 18 /paramspec/ulong 658s ok 19 /paramspec/int64 658s ok 20 /paramspec/uint64 658s ok 21 /paramspec/float 658s ok 22 /paramspec/double 658s ok 23 /paramspec/unichar 658s ok 24 /paramspec/param 658s ok 25 /paramspec/null-param 658s ok 26 /paramspec/string 658s ok 27 /paramspec/override 658s ok 28 /paramspec/gtype 658s ok 29 /paramspec/variant 658s ok 30 /paramspec/custom 658s ok 31 /paramspec/pool 658s # Start of variant tests 658s ok 32 /paramspec/variant/cmp 658s # End of variant tests 658s # End of paramspec tests 658s ok - glib/param.test 658s # Running test: glib/markup-parse.test 658s TAP version 14 658s # random seed: R02S5b5747191f54191bee0a7d00425323d1 658s 1..71 658s # Start of markup tests 658s # Start of parse tests 658s ok 1 /markup/parse/fail-16.gmarkup 658s ok 2 /markup/parse/fail-49.gmarkup 658s ok 3 /markup/parse/valid-16.gmarkup 658s ok 4 /markup/parse/fail-13.gmarkup 658s ok 5 /markup/parse/fail-11.gmarkup 658s ok 6 /markup/parse/fail-3.gmarkup 658s ok 7 /markup/parse/fail-8.gmarkup 658s ok 8 /markup/parse/fail-53.gmarkup 658s ok 9 /markup/parse/fail-23.gmarkup 658s ok 10 /markup/parse/fail-32.gmarkup 658s ok 11 /markup/parse/fail-35.gmarkup 658s ok 12 /markup/parse/fail-34.gmarkup 658s ok 13 /markup/parse/fail-30.gmarkup 658s ok 14 /markup/parse/fail-7.gmarkup 658s ok 15 /markup/parse/fail-27.gmarkup 658s ok 16 /markup/parse/fail-41.gmarkup 658s ok 17 /markup/parse/valid-13.gmarkup 658s ok 18 /markup/parse/fail-37.gmarkup 658s ok 19 /markup/parse/valid-9.gmarkup 658s ok 20 /markup/parse/fail-26.gmarkup 658s ok 21 /markup/parse/valid-14.gmarkup 658s ok 22 /markup/parse/valid-17.gmarkup 658s ok 23 /markup/parse/fail-14.gmarkup 658s ok 24 /markup/parse/valid-7.gmarkup 658s ok 25 /markup/parse/fail-20.gmarkup 658s ok 26 /markup/parse/fail-25.gmarkup 658s ok 27 /markup/parse/fail-2.gmarkup 658s ok 28 /markup/parse/valid-10.gmarkup 658s ok 29 /markup/parse/fail-47.gmarkup 658s ok 30 /markup/parse/fail-38.gmarkup 658s ok 31 /markup/parse/fail-6.gmarkup 658s ok 32 /markup/parse/valid-15.gmarkup 658s ok 33 /markup/parse/valid-6.gmarkup 658s ok 34 /markup/parse/fail-1.gmarkup 658s ok 35 /markup/parse/fail-22.gmarkup 658s ok 36 /markup/parse/fail-50.gmarkup 658s ok 37 /markup/parse/valid-11.gmarkup 658s ok 38 /markup/parse/fail-28.gmarkup 658s ok 39 /markup/parse/fail-12.gmarkup 658s ok 40 /markup/parse/valid-5.gmarkup 658s ok 41 /markup/parse/valid-8.gmarkup 658s ok 42 /markup/parse/valid-1.gmarkup 658s ok 43 /markup/parse/fail-24.gmarkup 658s ok 44 /markup/parse/fail-44.gmarkup 658s ok 45 /markup/parse/fail-31.gmarkup 658s ok 46 /markup/parse/fail-15.gmarkup 658s ok 47 /markup/parse/fail-48.gmarkup 658s ok 48 /markup/parse/fail-19.gmarkup 658s ok 49 /markup/parse/valid-4.gmarkup 658s ok 50 /markup/parse/fail-52.gmarkup 658s ok 51 /markup/parse/fail-54.gmarkup 658s ok 52 /markup/parse/fail-29.gmarkup 658s ok 53 /markup/parse/fail-5.gmarkup 658s ok 54 /markup/parse/fail-9.gmarkup 658s ok 55 /markup/parse/fail-4.gmarkup 658s ok 56 /markup/parse/fail-40.gmarkup 658s ok 57 /markup/parse/fail-33.gmarkup 658s ok 58 /markup/parse/valid-2.gmarkup 658s ok 59 /markup/parse/fail-45.gmarkup 658s ok 60 /markup/parse/fail-43.gmarkup 658s ok 61 /markup/parse/fail-21.gmarkup 658s ok 62 /markup/parse/fail-18.gmarkup 658s ok 63 /markup/parse/fail-36.gmarkup 658s ok 64 /markup/parse/fail-17.gmarkup 658s ok - glib/markup-parse.test 658s # Running test: glib/references.test 658s ok - glib/references.test 658s # Running test: glib/uri.test 658s ok - glib/uri.test 658s # Running test: glib/win32-appinfo.test 658s ok - glib/win32-appinfo.test 658s # Running test: glib/types.test 658s ok - glib/types.test 658s # Running test: glib/power-profile-monitor-portal.test 658s ok 65 /markup/parse/fail-42.gmarkup 658s ok 66 /markup/parse/valid-12.gmarkup 658s ok 67 /markup/parse/fail-46.gmarkup 658s ok 68 /markup/parse/fail-39.gmarkup 658s ok 69 /markup/parse/fail-10.gmarkup 658s ok 70 /markup/parse/fail-51.gmarkup 658s ok 71 /markup/parse/valid-3.gmarkup 658s # End of parse tests 658s # End of markup tests 658s TAP version 14 658s # random seed: R02S012217af45f447ad129ed96049b6e259 658s 1..4 658s # Start of gobject tests 658s ok 1 /gobject/references 658s ok 2 /gobject/references-many 658s ok 3 /gobject/references_two 658s ok 4 /gobject/references_run_dispose 658s # End of gobject tests 658s TAP version 14 658s # random seed: R02S9f04f24494285756f145e70c12597313 658s 1..24 658s # Start of uri tests 658s ok 1 /uri/file-to-uri 658s ok 2 /uri/file-from-uri 658s ok 3 /uri/file-roundtrip 658s ok 4 /uri/list 658s # Test 0: %2Babc %4F 658s # Test 1: %2Babc %4F 658s # Test 2: %00abc %4F 658s # Test 3: /cursors/none.png 658s # Test 4: /cursors%2fbad-subdir/none.png 658s # Test 5: %0 658s # Test 6: %ra 658s # Test 7: %2r 658s # Test 8: Timm Bäder 658s # Test 9: (null) 658s ok 5 /uri/unescape-string 658s ok 6 /uri/unescape-segment 658s # Test 0: abcdefgABCDEFG._~ 658s # Test 1: :+ \\?# 658s # Test 2: a+b:c 658s # Test 3: a+b:c\303\234 658s # Test 4: \374;\322 658s # Test 5: \303\261\303( 658s ok 7 /uri/escape-string 658s ok 8 /uri/escape-bytes 658s ok 9 /uri/scheme 658s ok 10 /uri/build 658s ok 11 /uri/split 658s ok 12 /uri/is_valid 658s ok 13 /uri/to-string 658s ok 14 /uri/join 658s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 658s # Combination 0 658s # Combination 1 658s # Combination 2 658s # Combination 3 658s # Combination 4 658s # Combination 5 658s # Combination 6 658s # Combination 7 658s # Combination 8 658s # Combination 9 658s # Combination 10 658s # Combination 11 658s # Combination 12 658s # Combination 13 658s # Combination 14 658s # Combination 15 658s # Combination 16 658s # Combination 17 658s # Combination 18 658s # Combination 19 658s # Combination 20 658s # Combination 21 658s # Combination 22 658s # Combination 23 658s # Combination 24 658s # Combination 25 658s # Combination 26 658s # Combination 27 658s # Combination 28 658s # Combination 29 658s # Combination 30 658s # Combination 31 658s # Combination 32 658s # Combination 33 658s # Combination 34 658s # Combination 35 658s # Combination 36 658s # Combination 37 658s # Combination 38 658s # Combination 39 658s # Combination 40 658s # Combination 41 658s # Combination 42 658s # Combination 43 658s # Combination 44 658s # Combination 45 658s # Combination 46 658s # Combination 47 658s # Combination 48 658s # Combination 49 658s # Combination 50 658s # Combination 51 658s # Combination 52 658s # Combination 53 658s # Combination 54 658s # Combination 55 658s # Combination 56 658s # Combination 57 658s # Combination 58 658s # Combination 59 658s # Combination 60 658s # Combination 61 658s # Combination 62 658s # Combination 63 658s # Combination 64 658s # Combination 65 658s # Combination 66 658s # Combination 67 658s # Combination 68 658s # Combination 69 658s # Combination 70 658s # Combination 71 658s # Combination 72 658s # Combination 73 658s # Combination 74 658s # Combination 75 658s # Combination 76 658s # Combination 77 658s # Combination 78 658s # Combination 79 658s # Combination 80 658s # Combination 81 658s # Combination 82 658s # Combination 83 658s # Combination 84 658s # Combination 85 658s # Combination 86 658s # Combination 87 658s # Combination 88 658s # Combination 89 658s # Combination 90 658s # Combination 91 658s # Combination 92 658s # Combination 93 658s # Combination 94 658s # Combination 95 658s # Combination 96 658s # Combination 97 658s # Combination 98 658s # Combination 99 658s # Combination 100 658s # Combination 101 658s # Combination 102 658s # Combination 103 658s # Combination 104 658s # Combination 105 658s # Combination 106 658s # Combination 107 658s # Combination 108 658s # Combination 109 658s # Combination 110 658s # Combination 111 658s # Combination 112 658s # Combination 113 658s # Combination 114 658s # Combination 115 658s # Combination 116 658s # Combination 117 658s # Combination 118 658s # Combination 119 658s # Combination 120 658s # Combination 121 658s # Combination 122 658s # Combination 123 658s # Combination 124 658s # Combination 125 658s # Combination 126 658s # Combination 127 658s # Combination 128 658s # Combination 129 658s # Combination 130 658s # Combination 131 658s # Combination 132 658s # Combination 133 658s # Combination 134 658s # Combination 135 658s # Combination 136 658s # Combination 137 658s # Combination 138 658s # Combination 139 658s # Combination 140 658s # Combination 141 658s # Combination 142 658s # Combination 143 658s # Combination 144 658s # Combination 145 658s # Combination 146 658s # Combination 147 658s # Combination 148 658s # Combination 149 658s # Combination 150 658s # Combination 151 658s # Combination 152 658s # Combination 153 658s # Combination 154 658s # Combination 155 658s # Combination 156 658s # Combination 157 658s # Combination 158 658s # Combination 159 658s # Combination 160 658s # Combination 161 658s # Combination 162 658s # Combination 163 658s # Combination 164 658s # Combination 165 658s # Combination 166 658s # Combination 167 658s # Combination 168 658s # Combination 169 658s # Combination 170 658s # Combination 171 658s # Combination 172 658s # Combination 173 658s # Combination 174 658s # Combination 175 658s # Combination 176 658s # Combination 177 658s # Combination 178 658s # Combination 179 658s # Combination 180 658s # Combination 181 658s # Combination 182 658s # Combination 183 658s # Combination 184 658s # Combination 185 658s # Combination 186 658s # Combination 187 658s # Combination 188 658s # Combination 189 658s # Combination 190 658s # Combination 191 658s # Combination 192 658s # Combination 193 658s # Combination 194 658s # Combination 195 658s # Combination 196 658s # Combination 197 658s # Combination 198 658s # Combination 199 658s # Combination 200 658s # Combination 201 658s # Combination 202 658s # Combination 203 658s # Combination 204 658s # Combination 205 658s # Combination 206 658s # Combination 207 658s # Combination 208 658s # Combination 209 658s # Combination 210 658s # Combination 211 658s # Combination 212 658s # Combination 213 658s # Combination 214 658s # Combination 215 658s # Combination 216 658s # Combination 217 658s # Combination 218 658s # Combination 219 658s # Combination 220 658s # Combination 221 658s # Combination 222 658s # Combination 223 658s # Combination 224 658s # Combination 225 658s # Combination 226 658s # Combination 227 658s # Combination 228 658s # Combination 229 658s # Combination 230 658s # Combination 231 658s # Combination 232 658s # Combination 233 658s # Combination 234 658s # Combination 235 658s # Combination 236 658s # Combination 237 658s # Combination 238 658s # Combination 239 658s # Combination 240 658s # Combination 241 658s # Combination 242 658s # Combination 243 658s # Combination 244 658s # Combination 245 658s # Combination 246 658s # Combination 247 658s # Combination 248 658s # Combination 249 658s # Combination 250 658s # Combination 251 658s # Combination 252 658s # Combination 253 658s # Combination 254 658s # Combination 255 658s ok 15 /uri/join-split-round-trip 658s ok 16 /uri/normalize 658s # Start of unescape-bytes tests 658s # Test 0: %00%00 658s # Test 1: /cursors/none.png 658s # Test 2: /cursors%2fbad-subdir/none.png 658s # Test 3: %% 658s # Test 4: % 658s ok 17 /uri/unescape-bytes/nul-terminated 658s # Test 0: %00%00 658s # Test 1: /cursors/none.png 658s # Test 2: /cursors%2fbad-subdir/none.png 658s # Test 3: %% 658s # Test 4: % 658s ok 18 /uri/unescape-bytes/length 658s # End of unescape-bytes tests 658s # Start of parsing tests 658s # Test 0: foo: 658s # Test 1: file:/dev/null 658s # Test 2: file:///dev/null 658s # Test 3: ftp://user@host/path 658s # Test 4: ftp://user@host:9999/path 658s # Test 5: ftp://user:password@host/path 658s # Test 6: ftp://user:password@host:9999/path 658s # Test 7: ftp://user:password@host 658s # Test 8: http://us%65r@host 658s # Test 9: http://us%40r@host 658s # Test 10: http://us%3ar@host 658s # Test 11: http://us%2fr@host 658s # Test 12: http://us%3fr@host 658s # Test 13: http://host?query 658s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 658s # 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 658s # Test 16: http://space/%20 658s # Test 17: http://delims/%3C%3E%23%25%22 658s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 658s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 658s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 658s # Test 21: http://[3ffe:2a00:100:7031::1] 658s # Test 22: http://[1080::8:800:200C:417A]/foo 658s # Test 23: http://[::192.9.5.5]/ipng 658s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 658s # Test 25: http://[2010:836B:4179::836B:4179] 658s # Test 26: http://host/path with spaces 658s # Test 27: http://host/path 658s # Test 28: http://host/path 658s # Test 29: http://host 658s # Test 30: http://host:999 658s # Test 31: http://host/pa 658s # th 658s # Test 32: http: 658s # //host/path 658s # Test 33: http:// host/path 658s # Test 34: http://host/path? 658s # Test 35: http://host/path# 658s # Test 36: http://host/path% 658s # Test 37: http://h%ost/path 658s # Test 38: http://host/path%% 658s # Test 39: http://host/path%%% 658s # Test 40: http://host/path%/x/ 658s # Test 41: http://host/path%0x/ 658s # Test 42: http://host/path%ax 658s # Test 43: http://host/päth/ 658s # Test 44: HTTP://////////////// 658s # Test 45: http://@host 658s # Test 46: http://:@host 658s # Test 47: scheme://foo%3Abar._webdav._tcp.local 658s # Test 48: http://example.com/.. 658s # Test 49: foo0://host/path 658s # Test 50: f0.o://host/path 658s # Test 51: http++://host/path 658s # Test 52: http-ish://host/path 658s # Test 53: http://[fe80::dead:beef%]/ 658s # Test 54: http://[fe80::dead:beef%em1]/ 658s # Test 55: http://[fe80::dead:beef%em1]/ 658s # Test 56: http://[fe80::dead:beef%25em1]/ 658s # Test 57: http://[fe80::dead:beef%25em1%20]/ 658s # Test 58: http://[fe80::dead:beef%25em%31]/ 658s # Test 59: http://[fe80::dead:beef%10]/ 658s # Test 60: http://[fe80::dead:beef%10]/ 658s # Test 61: http://[fe80::dead:beef%25]/ 658s # Test 62: http://[fe80::dead:beef%25]/ 658s # Test 63: http://[192.168.0.1%25em1]/ 658s # Test 64: http://[fe80::dead:beef%2em1]/ 658s # Test 65: http://[fe80::dead:beef%2em1]/ 658s # Test 66: http://[fe80::dead:beef%25em1%00]/ 658s # Test 67: http://[fe80::dead:beef%25em1%00]/ 658s # Test 68: http://xn--mixed-üp/ 658s # Test 69: data:./// 658s # Test 70: data:/.// 658s ok 19 /uri/parsing/absolute 658s ok 20 /uri/parsing/relative 658s # End of parsing tests 658s # Start of iter-params tests 658s # URI 0: p1=foo&p2=bar;p3=baz 658s # URI 1: p1=foo&p2=bar 658s # URI 2: p1=foo&&P1=bar 658s # URI 3: %00=foo 658s # URI 4: p1=%00 658s # URI 5: p1=foo&p1=bar 658s # URI 6: p1=foo&P1=bar 658s # URI 7: =% 658s # URI 8: = 658s # URI 9: foo 658s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 658s ok 21 /uri/iter-params/nul-terminated 658s # URI 0: p1=foo&p2=bar;p3=baz 658s # URI 1: p1=foo&p2=bar 658s # URI 2: p1=foo&&P1=bar 658s # URI 3: %00=foo 658s # URI 4: p1=%00 658s # URI 5: p1=foo&p1=bar 658s # URI 6: p1=foo&P1=bar 658s # URI 7: =% 658s # URI 8: = 658s # URI 9: foo 658s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 658s ok 22 /uri/iter-params/length 658s # End of iter-params tests 658s # Start of parse-params tests 658s # URI 0: p1=foo&p2=bar;p3=baz 658s # URI 1: p1=foo&p2=bar 658s # URI 2: p1=foo&&P1=bar 658s # URI 3: %00=foo 658s # URI 4: p1=%00 658s # URI 5: p1=foo&p1=bar 658s # URI 6: p1=foo&P1=bar 658s # URI 7: =% 658s # URI 8: = 658s # URI 9: foo 658s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 658s ok 23 /uri/parse-params/nul-terminated 658s # URI 0: p1=foo&p2=bar;p3=baz 658s # URI 1: p1=foo&p2=bar 658s # URI 2: p1=foo&&P1=bar 658s # URI 3: %00=foo 658s # URI 4: p1=%00 658s # URI 5: p1=foo&p1=bar 658s # URI 6: p1=foo&P1=bar 658s # URI 7: =% 658s # URI 8: = 658s # URI 9: foo 658s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 658s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 658s ok 24 /uri/parse-params/length 658s # End of parse-params tests 658s # End of uri tests 658s TAP version 14 658s # random seed: R02S6857e3a571fc5e2b3e248b6e32a65d34 658s 1..5 658s # Start of appinfo tests 658s ok 1 /appinfo/utf16-strfuncs 658s ok 2 /appinfo/win32-extract-executable 658s ok 3 /appinfo/win32-rundll32-fixup 658s ok 4 /appinfo/win32-parse-filename 658s ok 5 /appinfo/win32-utf16-conversion-fail 658s # Start of subprocess tests 658s # End of subprocess tests 658s # End of appinfo tests 658s TAP version 14 658s # random seed: R02S447432d4eab91d151d55c29e0a87b4a0 658s 1..1 658s # Start of types tests 658s ok 1 /types/basic_types 658s # End of types tests 658s TAP version 13 658s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 658s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 658s 1..2 658s ok - glib/power-profile-monitor-portal.test 658s # Running test: glib/io-stream.test 658s TAP version 14 658s # random seed: R02S321e0ad3f7ac00688da505448d4ab4b3 658s 1..3 658s # Start of io-stream tests 658s ok 1 /io-stream/copy-chunks 658s # Start of close tests 658s # Start of async tests 658s ok 2 /io-stream/close/async/memory 658s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 658s ok 3 /io-stream/close/async/file 658s # End of async tests 658s # End of close tests 658s # End of io-stream tests 658s ok - glib/io-stream.test 658s # Running test: glib/mimeapps.test 658s TAP version 14 658s # random seed: R02S088088b93be20e4fe8e2aec93492cff9 658s 1..13 658s # Start of appinfo tests 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 658s ok 1 /appinfo/all 658s # Start of mime tests 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/all/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config 658s ok 2 /appinfo/mime/api 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config 658s ok 3 /appinfo/mime/default 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config 658s ok 4 /appinfo/mime/file 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/config 658s ok 5 /appinfo/mime/scheme-handler 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config 658s ok 6 /appinfo/mime/default-last-used 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/config 658s ok 7 /appinfo/mime/ignore-nonexisting 658s # End of mime tests 658s # Start of mime-symlinked tests 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 658s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config 658s ok 8 /appinfo/mime-symlinked/api 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config 658s ok 9 /appinfo/mime-symlinked/default 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config 658s ok 10 /appinfo/mime-symlinked/file 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/config 658s ok 11 /appinfo/mime-symlinked/scheme-handler 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config 658s ok 12 /appinfo/mime-symlinked/default-last-used 658s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 658s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 658s # removing '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 658s # creating '/tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 658s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_VGNVE3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 658s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 658s # End of mime-symlinked tests 658s # End of appinfo tests 658s ok - glib/mimeapps.test 658s # Running test: glib/dynamictests.test 658s TAP version 14 658s # random seed: R02S3db7d76fd6598d9ab6fdfb3f48a50edf 658s 1..2 658s # Start of GObject tests 658s ok 1 /GObject/threaded-dynamic-ref-unref-init 658s ok 2 /GObject/dynamic-interface-properties 658s # End of GObject tests 658s ok - glib/dynamictests.test 658s # Running test: glib/642026-ec.test 658s TAP version 14 658s # random seed: R02S26ae2b51641a8a6271e705086a522be4 658s 1..1 658s # Start of glib tests 658s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 658s ok 1 /glib/642026 658s # End of glib tests 658s ok - glib/642026-ec.test 658s # Running test: glib/cond.test 658s TAP version 14 658s # random seed: R02S1ca5372a21b5c7567751a6f9c0b1c69a 658s 1..4 658s # Start of thread tests 658s ok 1 /thread/cond1 658s ok 2 /thread/cond2 658s # Start of cond tests 659s ok 3 /thread/cond/wait-until 659s # slow test /thread/cond/wait-until executed in 1.02 secs 659s # Start of wait-until tests 659s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 659s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 660s ok - glib/cond.test 660s ok 4 /thread/cond/wait-until/contended-and-interrupted 660s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 660s # End of wait-until tests 660s # End of cond tests 660s # End of thread tests 660s # Running test: glib/unix-streams.test 660s TAP version 14 660s # random seed: R02S2801032d081367359cb30f106b8a3f33 660s 1..9 660s # Start of unix-streams tests 660s ok 1 /unix-streams/basic 661s ok 2 /unix-streams/pipe-io-test 661s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 661s # Executing: glib/unix-streams.test 661s ok - glib/unix-streams.test 661s ok 3 /unix-streams/nonblocking-io-test 661s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 661s ok 4 /unix-streams/read_write 661s ok 5 /unix-streams/read_writev 661s ok 6 /unix-streams/write-wouldblock 661s ok 7 /unix-streams/writev-wouldblock 661s ok 8 /unix-streams/write-async-wouldblock 661s ok 9 /unix-streams/writev-async-wouldblock 661s # End of unix-streams tests 661s # Running test: glib/guuid.test 661s ok - glib/guuid.test 661s TAP version 14 661s # random seed: R02S628c7e65cdcdc74f8e57d0a891383e01 661s 1..2 661s # Start of uuid tests 661s ok 1 /uuid/string 661s ok 2 /uuid/random 661s # End of uuid tests 662s # Running test: glib/properties-refcount1.test 662s TAP version 14 662s # random seed: R02Sa6a0794ba48808964d2f75fb6b5c3cbb 662s 1..1 662s # Start of gobject tests 662s # Start of refcount tests 662s # .f 662s # .d 662s # .b 662s # .e 662s # .d 662s # .b 662s # .c 662s # .f 662s # .d 662s # .b 662s # .e 662s # .c 662s # .d 662s # .f 662s # .f 662s # .b 662s # .e 662s # .c 662s # .d 662s # .f 662s # .b 662s # .c 662s # .d 662s # .e 662s # .b 662s # .f 662s # .b 662s # .d 662s # .f 662s # .c 662s # .e 662s # .b 662s # .f 662s # .d 662s # .f 662s # .d 662s # .b 662s # .c 662s # .f 662s # .e 662s # .b 662s # .f 662s # .c 662s # .e 662s # .d 662s # .b 662s # .f 662s # .c 662s # .c 662s # .d 662s # .e 662s # .b 662s # .f 662s # .e 662s # .d 662s # .c 662s # .e 662s # .f 662s # .d 662s # .b 662s # .c 662s # .d 662s # .b 662s # .f 662s # .e 662s # .f 662s # .c 662s # .b 662s # .e 662s # .b 662s # .c 662s # .d 662s # .b 662s # .c 662s # .f 662s # .e 662s # .e 662s # .d 662s # .f 662s # .b 662s # .b 662s # .d 662s # .f 662s # .c 662s # .e 662s # .b 662s # .d 662s # .e 662s # .b 662s # .f 662s # .c 662s # .b 662s # .d 662s # .e 662s # .f 662s # .c 662s # .b 662s # .d 662s # .e 662s # .f 662s # .b 663s # .d 663s # .c 663s # .f 663s # .b 663s # .e 663s # .c 663s # .f 663s # .b 663s # .d 663s # .c 663s # .e 663s # .e 663s # .d 663s # .b 663s # .f 663s # .c 663s # .e 663s # .b 663s # .c 663s # .d 663s # .f 663s # .b 663s # .e 663s # .c 663s # .d 663s # .f 663s # .e 663s # .b 663s # .b 663s # .d 663s # .f 663s # .c 663s # .b 663s # .f 663s # .e 663s # .d 663s # .c 663s # .c 663s # .b 663s # .d 663s # .f 663s # .e 663s # .d 663s # .f 663s # .c 663s # .b 663s # .f 663s # .e 663s # .d 663s # .b 663s # .f 663s # .d 663s # .b 663s # .c 663s # .e 663s # .d 663s # .b 663s # .b 663s # .f 663s # .d 663s # .c 663s # .e 663s # .b 663s # .f 663s # .b 663s # .c 663s # .d 663s # .e 663s # .f 663s # .b 663s # .d 663s # .c 663s # .f 663s # .e 663s # .d 663s # .b 663s # .f 663s # .e 663s # .c 663s # .c 663s # .f 663s # .d 663s # .b 663s # .c 663s # .b 663s # .d 663s # .e 663s # .f 663s # .d 663s # .b 663s # .f 663s # .e 664s # .d 664s # .b 664s # .c 664s # .e 664s # .f 664s # .d 664s # .b 664s # .f 664s # .c 664s # .e 664s # .e 664s # .b 664s # .e 664s # .e 664s # .e 664s # .d 664s # .e 664s # .f 664s # .c 664s # .b 664s # .f 664s # .e 664s # .d 664s # .d 664s # .b 664s # .f 664s # .e 664s # .d 664s # .e 664s # .f 664s # .d 664s # .b 664s # .c 664s # .f 664s # .d 664s # .f 664s # .b 664s # .e 664s # .f 664s # .d 664s # .b 664s # .e 664s # .c 664s # .f 664s # .e 664s # .f 664s # .d 664s # .b 664s # .d 664s # .b 664s # .e 664s # .c 664s # .f 664s # .b 664s # .e 664s # .f 664s # .d 664s # .c 664s # .b 664s # .f 664s # .e 664s # .f 664s # .d 664s # .e 664s # .c 664s # .b 664s # .f 664s # .e 664s # .f 664s # .d 664s # .b 664s # .c 664s # .f 664s # .e 664s # .d 664s # .b 664s # .d 664s # .f 664s # .b 664s # .e 664s # .c 664s # .d 664s # .f 664s # .c 664s # .e 664s # .d 664s # .b 664s # .c 664s # .d 664s # .f 664s # .e 664s # .b 664s # .f 664s # .d 664s ok - glib/properties-refcount1.test 664s # Running test: glib/logging.test 664s ok 1 /gobject/refcount/properties-1 664s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 664s # End of refcount tests 664s # End of gobject tests 664s TAP version 14 664s # random seed: R02Se3d5f03be59aaf8f0d85993b18012e81 664s 1..20 664s # Start of logging tests 665s ok 1 /logging/default-handler 665s ok 2 /logging/journald-handler 665s ok 3 /logging/warnings 665s ok 4 /logging/fatal-log-mask 665s ok 5 /logging/always-fatal 665s # bu-DEBUG: message 665s # ba-DEBUG: message 665s # ba-INFO: message 665s ok 6 /logging/set-handler 665s ok 7 /logging/print-handler 665s ok 8 /logging/printerr-handler 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 665s # The Log Message Handler 665s # 665s # The Good Fail Message Handler 665s # 665s ok 9 /logging/653052 665s ok 10 /logging/gibberish 665s # Start of default-handler tests 665s # Start of subprocess tests 665s # End of subprocess tests 665s # End of default-handler tests 665s # End of logging tests 665s # Start of structured-logging tests 665s ok 11 /structured-logging/no-state 665s ok 12 /structured-logging/some-state 665s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 665s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 665s ok 13 /structured-logging/recursion-overflow 665s ok 14 /structured-logging/robustness 665s ok 15 /structured-logging/roundtrip1 665s ok - glib/logging.test 665s # Running test: glib/async-close-output-stream.test 665s ok 16 /structured-logging/roundtrip2 665s ok 17 /structured-logging/roundtrip3 665s ok 18 /structured-logging/variant1 665s ok 19 /structured-logging/variant2 665s ok 20 /structured-logging/set-writer-func-twice 665s # End of structured-logging tests 665s TAP version 14 665s # random seed: R02Sd9e84aedf6300ba5bd7e05ab1f5c0c48 665s 1..3 665s # Start of close-async tests 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 665s ok 1 /close-async/without-flush 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 665s ok 2 /close-async/with-flush 665s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 665s ok 3 /close-async/with-async-flush 665s # End of close-async tests 665s TAP version 14 665s # random seed: R02S339814b4871928ffbf76b3f4e40f1c4f 665s 1..1 665s # Start of function-info tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_RJCZE3/function-info/invoker/.dirs/runtime 665s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 665s # /function-info/invoker summary: Test preparing a function invoker 665s ok 1 /function-info/invoker 665s # End of function-info tests 665s ok - glib/async-close-output-stream.test 665s # Running test: glib/function-info.test 665s ok - glib/function-info.test 665s # Running test: glib/tls-database.test 665s ok - glib/tls-database.test 665s # Running test: glib/asyncqueue.test 665s TAP version 14 665s # random seed: R02S53d419852e01a9181791b775dcade476 665s 1..1 665s # Start of tls-backend tests 665s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 665s ok 1 /tls-backend/set-default-database 665s # End of tls-backend tests 665s TAP version 14 665s # random seed: R02S507471275ab3df447716495a6998a6a3 665s 1..7 665s # Start of asyncqueue tests 665s ok 1 /asyncqueue/basics 665s ok 2 /asyncqueue/sort 665s ok 3 /asyncqueue/destroy 665s ok 4 /asyncqueue/threads 665s ok - glib/asyncqueue.test 665s # Running test: glib/strfuncs.test 665s ok 5 /asyncqueue/timed 665s ok 6 /asyncqueue/remove 665s ok 7 /asyncqueue/push_front 665s # End of asyncqueue tests 665s TAP version 14 665s # random seed: R02S949a027f8d76f8d8b985d8947bfd29ff 665s 1..51 665s # Start of strfuncs tests 665s ok 1 /strfuncs/ascii-strcasecmp 665s ok 2 /strfuncs/ascii_strdown 665s ok 3 /strfuncs/ascii_strdup 665s ok 4 /strfuncs/ascii_strtod 665s ok 5 /strfuncs/bounds-check 665s ok 6 /strfuncs/has-prefix 665s ok 7 /strfuncs/has-prefix-macro 665s ok 8 /strfuncs/has-suffix 665s ok 9 /strfuncs/has-suffix-macro 665s ok 10 /strfuncs/memdup 665s ok 11 /strfuncs/memdup2 665s ok 12 /strfuncs/set_str 665s ok 13 /strfuncs/stpcpy 665s ok 14 /strfuncs/str_match_string 665s ok 15 /strfuncs/str_tokenize_and_fold 665s ok 16 /strfuncs/strcanon 665s ok 17 /strfuncs/strchomp 665s ok 18 /strfuncs/strchug 665s ok 19 /strfuncs/strcompress-strescape 665s ok 20 /strfuncs/strconcat 665s ok 21 /strfuncs/strdelimit 665s ok 22 /strfuncs/strdup 665s ok 23 /strfuncs/strdup-printf 665s ok 24 /strfuncs/strdupv 665s ok 25 /strfuncs/strerror 665s ok 26 /strfuncs/strip-context 665s ok 27 /strfuncs/strjoin 665s ok 28 /strfuncs/strjoinv 665s ok 29 /strfuncs/strlcat 665s ok 30 /strfuncs/strlcpy 665s ok - glib/strfuncs.test 665s # Running test: glib/gdbus-server-auth.test 665s ok - glib/gdbus-server-auth.test 665s # Running test: glib/basic-signals.test 665s ok - glib/basic-signals.test 665s # Running test: glib/refcount-macro.test 665s ok 31 /strfuncs/strncasecmp 665s ok 32 /strfuncs/strndup 665s ok 33 /strfuncs/strnfill 665s ok 34 /strfuncs/strreverse 665s ok 35 /strfuncs/strsignal 665s ok 36 /strfuncs/strsplit 665s ok 37 /strfuncs/strsplit-set 665s ok 38 /strfuncs/strstr 665s ok 39 /strfuncs/strtod 665s ok 40 /strfuncs/strtoull-strtoll 665s ok 41 /strfuncs/strup 665s ok 42 /strfuncs/strv-contains 665s ok 43 /strfuncs/strv-equal 665s ok 44 /strfuncs/strv-length 665s ok 45 /strfuncs/test-is-to-digit 665s ok 46 /strfuncs/transliteration 665s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 665s ok 47 /strfuncs/str-equal 665s ok 48 /strfuncs/str-is-ascii 665s # Start of ascii-string-to-num tests 665s ok 49 /strfuncs/ascii-string-to-num/pathological 665s ok 50 /strfuncs/ascii-string-to-num/usual 665s # End of ascii-string-to-num tests 665s # Start of strdup tests 665s ok 51 /strfuncs/strdup/inline 665s # End of strdup tests 665s # End of strfuncs tests 665s TAP version 14 665s # random seed: R02S4c4f44813835948c23747bfdd67fa888 665s 1..9 665s # Start of gdbus tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/.dirs/runtime 665s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-Z76OE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 665s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-Z76OE3/dbus-HnoT8Pdi 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12910 665s ok 1 /gdbus/server-auth 665s # Start of server-auth tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/abstract/.dirs/runtime 665s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-OL3OE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 665s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-OL3OE3/dbus-2r5TS8Wb 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 665s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 665s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12910 665s ok 2 /gdbus/server-auth/abstract 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/tcp/.dirs/runtime 665s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 665s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/.dirs/runtime 665s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-YYMOE3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 665s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-YYMOE3/dbus-wFN7hC4j 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12910 665s ok 4 /gdbus/server-auth/anonymous 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/.dirs/runtime 665s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-RGEOE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 665s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-RGEOE3/dbus-wdm5xJ9O 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12910 665s ok 5 /gdbus/server-auth/external 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/.dirs/runtime 665s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-6SYNE3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 665s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 665s # Start of anonymous tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 665s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 665s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 665s # End of anonymous tests 665s # Start of external tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/external/require-same-user/.dirs/runtime 665s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-B5XNE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 665s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QU7OE3/gdbus-server-auth-B5XNE3/dbus-YwCHV8t8 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12910 665s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 665s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 665s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 665s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12910,uid=1000,gid=1000 665s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12910 665s ok 8 /gdbus/server-auth/external/require-same-user 665s # End of external tests 665s # Start of sha1 tests 665s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/home 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/cache 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/config 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/data 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/state 665s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QU7OE3/gdbus/server-auth/sha1/tcp/.dirs/runtime 665s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 665s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 665s # End of sha1 tests 665s # End of server-auth tests 665s # End of gdbus tests 665s TAP version 14 665s # random seed: R02S7300d8b40b879a5a7c6e8b5879ee74e6 665s 1..1 665s # Start of gobject tests 665s ok 1 /gobject/basic-signals 665s # End of gobject tests 665s TAP version 14 665s # random seed: R02S5cf5e7c59af2e97ca76b7811a66b459c 665s 1..4 665s # Start of refcount tests 665s ok 1 /refcount/grefcount 665s ok 2 /refcount/gatomicrefcount 665s # Start of grefcount tests 665s ok 3 /refcount/grefcount/saturation 665s # End of grefcount tests 665s # Start of gatomicrefcount tests 665s ok 4 /refcount/gatomicrefcount/saturation 665s ok - glib/refcount-macro.test 665s # Running test: glib/g-icon.test 665s ok - glib/g-icon.test 665s # Running test: glib/testing-nonfatal.test 665s ok - glib/testing-nonfatal.test 665s # Running test: glib/utf8-misc.test 665s ok - glib/utf8-misc.test 665s # Running test: glib/signalgroup.test 665s ok - glib/signalgroup.test 665s # Running test: glib/objects-refcount1.test 665s # End of gatomicrefcount tests 665s # End of refcount tests 665s TAP version 14 665s # random seed: R02S56e17f3d67891b7874d9b7831570305e 665s 1..6 665s # Start of icons tests 665s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 665s ok 1 /icons/to-string 665s ok 2 /icons/serialize 665s ok 3 /icons/themed 665s ok 4 /icons/emblemed 665s ok 5 /icons/file 665s ok 6 /icons/bytes 665s # End of icons tests 665s TAP version 14 665s # random seed: R02S3f446f0767f7ed0a66666a1328cc5a73 665s ** 665s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 665s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 665s TAP version 14 665s # random seed: R02S8266c1742932dc441c4ec3937757249f 665s 1..7 665s # Start of utf8 tests 665s ok 1 /utf8/strlen 665s ok 2 /utf8/strncpy 665s ok 3 /utf8/strrchr 665s ok 4 /utf8/reverse 665s ok 5 /utf8/substring 665s ok 6 /utf8/make-valid 665s ok 7 /utf8/truncate-middle 665s # End of utf8 tests 665s TAP version 14 665s # random seed: R02S36fe9b4d270c897d8fefc1b2d9795233 665s 1..9 665s # Start of GObject tests 665s # Start of SignalGroup tests 665s ok 1 /GObject/SignalGroup/invalid 665s ok 2 /GObject/SignalGroup/simple 665s ok 3 /GObject/SignalGroup/changing-target 665s ok 4 /GObject/SignalGroup/blocking 665s ok 5 /GObject/SignalGroup/weak-ref-target 665s ok 6 /GObject/SignalGroup/connect-object 665s ok 7 /GObject/SignalGroup/signal-parsing 665s ok 8 /GObject/SignalGroup/properties 665s ok 9 /GObject/SignalGroup/interface 665s # Start of signal-parsing tests 665s # End of signal-parsing tests 665s # End of SignalGroup tests 665s # End of GObject tests 665s TAP version 14 665s # random seed: R02Sb21928f2fb7504763522eaacb6850fb1 665s 1..1 665s # Start of gobject tests 665s # Start of refcount tests 665s # init 0x2aa3740ed80 665s # 665s # init 0x2aa3740ee80 665s # 666s # Executing: glib/objects-refcount1.test 670s # dispose 0x2aa3740ed80! 670s # 670s # dispose 0x2aa3740ee80! 670s # 670s ok 1 /gobject/refcount/object-basics 670s # slow test /gobject/refcount/object-basics executed in 5.00 secs 670s # End of refcount tests 670s # End of gobject tests 670s ok - glib/objects-refcount1.test 670s # Running test: glib/callable-info.test 670s TAP version 14 670s # random seed: R02Sada97b8c69032409f2346ba5cb5a8ad4 670s 1..6 670s # Start of callable-info tests 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/sync-function/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s ok 1 /callable-info/sync-function 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/async-function/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s ok 2 /callable-info/async-function 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/is-method/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s ok 3 /callable-info/is-method 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/static-method/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s ok 4 /callable-info/static-method 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/static-vfunc/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 670s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 670s # Start of platform tests 670s # Start of unix tests 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/system-data2 670s ok - glib/callable-info.test 670s # Running test: glib/autoptr-gio.test 670s ok - glib/autoptr-gio.test 670s # Running test: glib/thread-deprecated.test 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_3SQNE3/callable-info/platform/unix/is-method/.dirs/runtime 670s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 670s # Checking DesktopAppInfo in Gio 670s # Checking DesktopAppInfo in GioUnix 670s ok 6 /callable-info/platform/unix/is-method 670s # End of unix tests 670s # End of platform tests 670s # End of callable-info tests 670s TAP version 14 670s # random seed: R02S8fe12d0db992dfcc295b8632cef0b081 670s 1..1 670s # Start of autoptr tests 670s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 670s ok 1 /autoptr/autoptr 670s # End of autoptr tests 670s TAP version 14 670s # random seed: R02S00904072bcae317a4deabeb06a6eccc3 670s 1..6 670s # Start of thread tests 670s ok 1 /thread/mutex 671s ok 2 /thread/static-rec-mutex 671s # Executing: glib/thread-deprecated.test 675s ok 3 /thread/static-private 675s # slow test /thread/static-private executed in 4.40 secs 676s # Executing: glib/thread-deprecated.test 680s ok 4 /thread/static-rw-lock 680s # slow test /thread/static-rw-lock executed in 5.00 secs 680s ok 5 /thread/once 681s # Executing: glib/thread-deprecated.test 686s # Executing: glib/thread-deprecated.test 690s ok 6 /thread/rerun-all 690s # slow test /thread/rerun-all executed in 10.02 secs 690s # End of thread tests 690s ok - glib/thread-deprecated.test 690s # Running test: glib/stream-rw_all.test 690s TAP version 14 690s # random seed: R02S43b246d78a6d44192bacdff1afa43ef0 690s 1..3 690s # Start of stream tests 690s # Start of read_all_async tests 690s ok 1 /stream/read_all_async/memory 690s # End of read_all_async tests 690s # Start of write_all_async tests 690s ok 2 /stream/write_all_async/memory 690s # End of write_all_async tests 690s # Start of read_write_all_async tests 690s ok 3 /stream/read_write_all_async/pipe 690s ok - glib/stream-rw_all.test 690s # Running test: glib/environment.test 690s ok - glib/environment.test 690s # Running test: glib/cxx-98.test 690s # End of read_write_all_async tests 690s # End of stream tests 690s TAP version 14 690s # random seed: R02Sc555e0ced9f4d3966727a63d7e472997 690s 1..7 690s # Start of environ tests 690s # /environ/listenv summary: Test g_get_environ() returns an array of unique keys, all of which can be individually queried using g_getenv() to return the same value. 690s ok 1 /environ/listenv 690s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 690s ok 2 /environ/getenv 690s ok 3 /environ/setenv 690s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 690s ok 4 /environ/array 690s # /environ/null summary: Test getting and setting variables on a NULL envp array. 690s ok 5 /environ/null 690s # /environ/case summary: Test that matching environment variables is case-insensitive on Windows and not on other platforms, since envvars were case-insensitive on DOS. 690s ok 6 /environ/case 690s # /environ/expansion summary: Test expansion of environment variable references. 690s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 690s # End of environ tests 690s TAP version 14 690s # random seed: R02Se15dad6c14888a7e5267b3ec3b0b789b 690s 1..2 690s # Start of gtask tests 690s # 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. 690s ok 1 /gtask/name 690s ok - glib/cxx-98.test 690s # Running test: glib/markup-escape.test 690s ok - glib/markup-escape.test 690s # Running test: glib/notify-init.test 690s ok - glib/notify-init.test 690s # Running test: glib/init.test 690s # Start of name tests 690s # 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. 690s ok 2 /gtask/name/macro-wrapper 690s # End of name tests 690s # End of gtask tests 690s TAP version 14 690s # random seed: R02S0d5823fb24ab0b1cc31e963ac4369b5e 690s 1..41 690s # Start of markup tests 690s ok 1 /markup/format 690s # Start of escape-text tests 690s ok 2 /markup/escape-text/0 690s ok 3 /markup/escape-text/1 690s ok 4 /markup/escape-text/2 690s ok 5 /markup/escape-text/3 690s ok 6 /markup/escape-text/4 690s ok 7 /markup/escape-text/5 690s ok 8 /markup/escape-text/6 690s ok 9 /markup/escape-text/7 690s ok 10 /markup/escape-text/8 690s ok 11 /markup/escape-text/9 690s ok 12 /markup/escape-text/10 690s ok 13 /markup/escape-text/11 690s ok 14 /markup/escape-text/12 690s ok 15 /markup/escape-text/13 690s ok 16 /markup/escape-text/14 690s ok 17 /markup/escape-text/15 690s ok 18 /markup/escape-text/16 690s ok 19 /markup/escape-text/17 690s ok 20 /markup/escape-text/18 690s ok 21 /markup/escape-text/19 690s ok 22 /markup/escape-text/20 690s ok 23 /markup/escape-text/21 690s ok 24 /markup/escape-text/22 690s # End of escape-text tests 690s # Start of escape-unichar tests 690s ok 25 /markup/escape-unichar/0 690s ok 26 /markup/escape-unichar/1 690s ok 27 /markup/escape-unichar/2 690s ok 28 /markup/escape-unichar/3 690s ok 29 /markup/escape-unichar/4 690s ok 30 /markup/escape-unichar/5 690s ok 31 /markup/escape-unichar/6 690s ok 32 /markup/escape-unichar/7 690s ok 33 /markup/escape-unichar/8 690s ok 34 /markup/escape-unichar/9 690s ok 35 /markup/escape-unichar/10 690s ok 36 /markup/escape-unichar/11 690s ok 37 /markup/escape-unichar/12 690s ok 38 /markup/escape-unichar/13 690s ok 39 /markup/escape-unichar/14 690s ok 40 /markup/escape-unichar/15 690s ok 41 /markup/escape-unichar/16 690s # End of escape-unichar tests 690s # End of markup tests 690s TAP version 14 690s # random seed: R02Sea8bc0a31ad49632f6dcf0ff0e346aa1 690s 1..1 690s # Start of properties tests 690s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 690s ok 1 /properties/notify-in-init 690s # End of properties tests 690s TAP version 14 690s ok - glib/init.test 690s # Running test: glib/signal-handler.test 690s # random seed: R02S9b30dd1b95aba5ca86f2d45863fa525c 690s 1..2 690s # Start of thread tests 690s # Start of deprecated tests 690s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/home 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/cache 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_POKXE3/thread/deprecated/init/.dirs/system-config2 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/config 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_POKXE3/thread/deprecated/init/.dirs/system-data2 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/data 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/state 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_POKXE3/thread/deprecated/init/.dirs/runtime 690s ok 1 /thread/deprecated/init 690s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 690s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_POKXE3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 690s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 690s # End of deprecated tests 690s # End of thread tests 690s TAP version 14 690s ok - glib/signal-handler.test 690s # Running test: glib/dir.test 690s ok - glib/dir.test 690s # Running test: glib/mappedfile.test 690s ok - glib/mappedfile.test 690s # Running test: glib/portal-support-env-var.test 690s ok - glib/portal-support-env-var.test 690s # Running test: glib/deftype.test 690s ok - glib/deftype.test 690s # Running test: glib/utf8-private.test 690s ok - glib/utf8-private.test 690s # Running test: glib/codegen.py.test 690s # random seed: R02S4ef94a6bee76e7ea352eb3acc188edc7 690s 1..7 690s # Start of signal tests 690s # Start of handler tests 690s # min perf: connected 1 handlers in 0.000 seconds 690s ok 1 /signal/handler/connect-many 690s # min perf: disconnected 1 handlers in 0.000 seconds 690s ok 2 /signal/handler/disconnect-many-ordered 690s # min perf: disconnected 1 handlers in 0.000 seconds 690s ok 3 /signal/handler/disconnect-many-inverse 690s # min perf: disconnected 1 handlers in 0.000 seconds 690s ok 4 /signal/handler/disconnect-many-random 690s # min perf: disconnected 1 handlers in 0.000 seconds 690s ok 5 /signal/handler/disconnect-2-signals 690s # min perf: disconnected 1 handlers in 0.000 seconds 690s ok 6 /signal/handler/disconnect-2-objects 690s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 690s ok 7 /signal/handler/block-many 690s # End of handler tests 690s # End of signal tests 690s TAP version 14 690s # random seed: R02S50f568b85190e2b98192b4867c37fa14 690s 1..3 690s # Start of dir tests 690s ok 1 /dir/read 690s ok 2 /dir/nonexisting 690s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 690s ok 3 /dir/refcounting 690s # End of dir tests 690s TAP version 14 690s # random seed: R02Saf6261e11ab96cb1db04fee89c5b5bc5 690s 1..7 690s # Start of mappedfile tests 690s ok 1 /mappedfile/basic 690s ok 2 /mappedfile/empty 690s ok 3 /mappedfile/device 690s ok 4 /mappedfile/nonexisting 690s ok 5 /mappedfile/writable 690s ok 6 /mappedfile/writable_fd 690s ok 7 /mappedfile/gbytes 690s # End of mappedfile tests 690s TAP version 14 690s # random seed: R02Sd6202f2885c4278a950d69fca6d03e07 690s 1..1 690s # Start of portal-support tests 690s ok 1 /portal-support/env-var 690s # End of portal-support tests 690s TAP version 14 690s # random seed: R02S11e30429601205ec1c7507091fdff041 690s 1..2 690s # Start of utf8 tests 690s ok 1 /utf8/utf8-to-utf16-make-valid 690s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 690s # End of utf8 tests 690s TAP version 13 690s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 690s # gdbus-codegen: /usr/bin/gdbus-codegen 690s # tmpdir: /tmp/tmppb0dlc7q 690s # /tmp/tmppb0dlc7q/tmppii4uiwi.xml: 690s # 690s # 690s # 690s # 690s # 690s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppb0dlc7q/tmppii4uiwi.xml', '--output', '-', '--header'] 690s # Return code: 0 690s # Output: 690s # /* 690s # * This file is generated by gdbus-codegen, do not modify it. 690s # * 690s # * The license of this code is the same as for the D-Bus interface description 690s # * it was derived from. Note that it links to GLib, so must comply with the 690s # * LGPL linking clauses. 690s # */ 690s # 690s # #ifndef __STDOUT__ 690s # #define __STDOUT__ 690s # 690s # #include 690s # 690s # G_BEGIN_DECLS 690s # 690s # 690s # /* ------------------------------------------------------------------------ */ 690s # /* Declarations for org.project.UsefulInterface */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 690s # 690s # struct _OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 690s # 690s # struct _OrgProjectUsefulInterfaceIface 690s # { 690s # GTypeInterface parent_iface; 690s # 690s # gboolean (*handle_useful_method) ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # }; 690s # 690s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 690s # 690s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 690s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 690s # 690s # 690s # /* D-Bus method call completion functions: */ 690s # void org_project_useful_interface_complete_useful_method ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # 690s # 690s # /* D-Bus method calls: */ 690s # void org_project_useful_interface_call_useful_method ( 690s # OrgProjectUsefulInterface *proxy, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_finish ( 690s # OrgProjectUsefulInterface *proxy, 690s # GAsyncResult *res, 690s # GError **error); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_sync ( 690s # OrgProjectUsefulInterface *proxy, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 690s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 690s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceProxy 690s # { 690s # /*< private >*/ 690s # GDBusProxy parent_instance; 690s # OrgProjectUsefulInterfaceProxyPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceProxyClass 690s # { 690s # GDBusProxyClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 690s # #endif 690s # 690s # void org_project_useful_interface_proxy_new ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # void org_project_useful_interface_proxy_new_for_bus ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeleton 690s # { 690s # /*< private >*/ 690s # GDBusInterfaceSkeleton parent_instance; 690s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeletonClass 690s # { 690s # GDBusInterfaceSkeletonClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 690s # #endif 690s # 690s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 690s # 690s # 690s # G_END_DECLS 690s # 690s # #endif /* __STDOUT__ */ 690s # Error: 690s # 690s # /tmp/tmppb0dlc7q/tmptuojvd_u.xml: 690s # 690s # 690s # 690s # 690s # 690s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppb0dlc7q/tmptuojvd_u.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 690s # Return code: 0 690s # Output: 690s # /* 690s # * This file is generated by gdbus-codegen, do not modify it. 690s # * 690s # * The license of this code is the same as for the D-Bus interface description 690s # * it was derived from. Note that it links to GLib, so must comply with the 690s # * LGPL linking clauses. 690s # */ 690s # 690s # #ifndef __STDOUT__ 690s # #define __STDOUT__ 690s # 690s # #include 690s # 690s # G_BEGIN_DECLS 690s # 690s # 690s # /* ------------------------------------------------------------------------ */ 690s # /* Declarations for org.project.UsefulInterface */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 690s # 690s # struct _OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 690s # 690s # struct _OrgProjectUsefulInterfaceIface 690s # { 690s # GTypeInterface parent_iface; 690s # 690s # gboolean (*handle_useful_method) ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # }; 690s # 690s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 690s # 690s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 690s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 690s # 690s # 690s # /* D-Bus method call completion functions: */ 690s # void org_project_useful_interface_complete_useful_method ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # 690s # 690s # /* D-Bus method calls: */ 690s # void org_project_useful_interface_call_useful_method ( 690s # OrgProjectUsefulInterface *proxy, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_finish ( 690s # OrgProjectUsefulInterface *proxy, 690s # GAsyncResult *res, 690s # GError **error); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_sync ( 690s # OrgProjectUsefulInterface *proxy, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 690s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 690s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceProxy 690s # { 690s # /*< private >*/ 690s # GDBusProxy parent_instance; 690s # OrgProjectUsefulInterfaceProxyPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceProxyClass 690s # { 690s # GDBusProxyClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 690s # #endif 690s # 690s # void org_project_useful_interface_proxy_new ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # void org_project_useful_interface_proxy_new_for_bus ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeleton 690s # { 690s # /*< private >*/ 690s # GDBusInterfaceSkeleton parent_instance; 690s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeletonClass 690s # { 690s # GDBusInterfaceSkeletonClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 690s # #endif 690s # 690s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 690s # 690s # 690s # G_END_DECLS 690s # 690s # #endif /* __STDOUT__ */ 690s # Error: 690s # 690s # /tmp/tmppb0dlc7q/tmphnex63lp.xml: 690s # 690s # 690s # 690s # 690s # 690s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppb0dlc7q/tmphnex63lp.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 690s # Return code: 0 690s # Output: 690s # /* 690s # * This file is generated by gdbus-codegen, do not modify it. 690s # * 690s # * The license of this code is the same as for the D-Bus interface description 690s # * it was derived from. Note that it links to GLib, so must comply with the 690s # * LGPL linking clauses. 690s # */ 690s # 690s # #ifndef __STDOUT__ 690s # #define __STDOUT__ 690s # 690s # #include 690s # 690s # G_BEGIN_DECLS 690s # 690s # 690s # /* ------------------------------------------------------------------------ */ 690s # /* Declarations for org.project.UsefulInterface */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 690s # 690s # struct _OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 690s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 690s # 690s # struct _OrgProjectUsefulInterfaceIface 690s # { 690s # GTypeInterface parent_iface; 690s # 690s # gboolean (*handle_useful_method) ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # }; 690s # 690s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 690s # 690s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 690s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 690s # 690s # 690s # /* D-Bus method call completion functions: */ 690s # void org_project_useful_interface_complete_useful_method ( 690s # OrgProjectUsefulInterface *object, 690s # GDBusMethodInvocation *invocation); 690s # 690s # 690s # 690s # /* D-Bus method calls: */ 690s # void org_project_useful_interface_call_useful_method ( 690s # OrgProjectUsefulInterface *proxy, 690s # GDBusCallFlags call_flags, 690s # gint timeout_msec, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_finish ( 690s # OrgProjectUsefulInterface *proxy, 690s # GAsyncResult *res, 690s # GError **error); 690s # 690s # gboolean org_project_useful_interface_call_useful_method_sync ( 690s # OrgProjectUsefulInterface *proxy, 690s # GDBusCallFlags call_flags, 690s # gint timeout_msec, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 690s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 690s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceProxy 690s # { 690s # /*< private >*/ 690s # GDBusProxy parent_instance; 690s # OrgProjectUsefulInterfaceProxyPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceProxyClass 690s # { 690s # GDBusProxyClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 690s # #endif 690s # 690s # void org_project_useful_interface_proxy_new ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 690s # GDBusConnection *connection, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # void org_project_useful_interface_proxy_new_for_bus ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GAsyncReadyCallback callback, 690s # gpointer user_data); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 690s # GAsyncResult *res, 690s # GError **error); 690s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 690s # GBusType bus_type, 690s # GDBusProxyFlags flags, 690s # const gchar *name, 690s # const gchar *object_path, 690s # GCancellable *cancellable, 690s # GError **error); 690s # 690s # 690s # /* ---- */ 690s # 690s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 690s # 690s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 690s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeleton 690s # { 690s # /*< private >*/ 690s # GDBusInterfaceSkeleton parent_instance; 690s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 690s # }; 690s # 690s # struct _OrgProjectUsefulInterfaceSkeletonClass 690s # { 690s # GDBusInterfaceSkeletonClass parent_class; 690s # }; 690s # 690s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 690s # 690s # #if GLIB_CHECK_VERSION(2, 44, 0) 690s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 690s # #endif 690s # 690s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 690s # 690s # 690s # G_END_DECLS 690s # 690s # #endif /* __STDOUT__ */ 690s # Error: 691s ok 2 __main__.TestCodegen.test_dbus_types 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpsd2mtjuc 691s # /tmp/tmpsd2mtjuc/tmpf60rfcms.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpf60rfcms.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 691s # /tmp/tmpsd2mtjuc/tmppz83hfie.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmppz83hfie.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 691s # /tmp/tmpsd2mtjuc/tmpmognhls6.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpmognhls6.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 691s # /tmp/tmpsd2mtjuc/tmpdh2hcbp9.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpdh2hcbp9.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 691s # /tmp/tmpsd2mtjuc/tmpl3z56o7x.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpl3z56o7x.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 691s # /tmp/tmpsd2mtjuc/tmpnvx3_6tn.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpnvx3_6tn.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 691s # /tmp/tmpsd2mtjuc/tmp3tk3nqh9.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmp3tk3nqh9.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 691s # /tmp/tmpsd2mtjuc/tmpo_ntrm8r.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpo_ntrm8r.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 691s # /tmp/tmpsd2mtjuc/tmpzl24i9zk.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpzl24i9zk.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 691s # /tmp/tmpsd2mtjuc/tmpmy15llvg.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpmy15llvg.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: D-Bus maximum signature length of 255 exceeded. 691s # /tmp/tmpsd2mtjuc/tmp291vvnuw.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmp291vvnuw.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: D-Bus maximum signature length of 255 exceeded. 691s # /tmp/tmpsd2mtjuc/tmpnnzrm798.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpnnzrm798.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 691s # /tmp/tmpsd2mtjuc/tmpxiptsypk.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpxiptsypk.xml', '--output', '-', '--body'] 691s # Return code: 1 691s # Output: 691s # 691s # Error: 691s # ERROR: D-Bus maximum signature length of 255 exceeded. 691s # /tmp/tmpsd2mtjuc/tmpl3lzmrev.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpl3lzmrev.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface GoodTypes 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:GoodTypes 691s # * @title: GoodTypes 691s # * @short_description: Generated C code for the GoodTypes D-Bus interface 691s # * 691s # * This section contains code for working with the GoodTypes D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for GoodTypes ---- */ 691s # 691s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodPropertyType", 691s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 691s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 691s # NULL 691s # }, 691s # "good-property-type", 691s # FALSE, 691s # TRUE 691s # }; 691s # 691s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 691s # { 691s # &_good_types_property_info_good_property_type.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodTypes", 691s # NULL, 691s # NULL, 691s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 691s # NULL 691s # }, 691s # "good-types", 691s # }; 691s # 691s # 691s # /** 691s # * good_types_interface_info: 691s # * 691s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # good_types_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * good_types_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 691s # { 691s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # 691s # /** 691s # * GoodTypes: 691s # * 691s # * Abstract interface type for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # /** 691s # * GoodTypesIface: 691s # * @parent_iface: The parent interface. 691s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 691s # * 691s # * Virtual table for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # typedef GoodTypesIface GoodTypesInterface; 691s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 691s # 691s # static void 691s # good_types_default_init (GoodTypesIface *iface) 691s # { 691s # /* GObject properties for D-Bus properties: */ 691s # /** 691s # * GoodTypes:good-property-type: 691s # * 691s # * Represents the D-Bus property "GoodPropertyType". 691s # * 691s # * 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. 691s # */ 691s # g_object_interface_install_property (iface, 691s # 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)); 691s # } 691s # 691s # /** 691s # * good_types_get_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets the value of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # GVariant * 691s # good_types_get_good_property_type (GoodTypes *object) 691s # { 691s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 691s # 691s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 691s # } 691s # 691s # /** 691s # * good_types_dup_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets a copy of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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(). 691s # */ 691s # GVariant * 691s # good_types_dup_good_property_type (GoodTypes *object) 691s # { 691s # GVariant *value; 691s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 691s # return value; 691s # } 691s # 691s # /** 691s # * good_types_set_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * @value: The value to set. 691s # * 691s # * Sets the "GoodPropertyType" D-Bus property to @value. 691s # * 691s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 691s # */ 691s # void 691s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 691s # { 691s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesProxy: 691s # * 691s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesProxy. 691s # */ 691s # 691s # struct _GoodTypesProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (GoodTypesProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_proxy_finalize (GObject *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_proxy_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 691s # if (info->use_gvariant) 691s # { 691s # g_value_set_variant (value, variant); 691s # } 691s # else 691s # { 691s # if (variant != NULL) 691s # g_dbus_gvariant_to_gvalue (variant, value); 691s # } 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 691s # GAsyncResult *res, 691s # gpointer user_data) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info = user_data; 691s # GError *error; 691s # GVariant *_ret; 691s # error = NULL; 691s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 691s # if (!_ret) 691s # { 691s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 691s # info->parent_struct.name, 691s # error->message, g_quark_to_string (error->domain), error->code); 691s # g_error_free (error); 691s # } 691s # else 691s # { 691s # g_variant_unref (_ret); 691s # } 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_dbus_proxy_call (G_DBUS_PROXY (object), 691s # "org.freedesktop.DBus.Properties.Set", 691s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static GVariant * 691s # good_types_proxy_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # GVariant *variant; 691s # GVariant *value = NULL; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 691s # value = variant; 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_proxy_init (GoodTypesProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = good_types_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 691s # } 691s # 691s # static void 691s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_proxy_finalize; 691s # gobject_class->get_property = good_types_proxy_get_property; 691s # gobject_class->set_property = good_types_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = good_types_proxy_g_signal; 691s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_proxy_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * good_types_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesSkeleton: 691s # * 691s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesSkeleton. 691s # */ 691s # 691s # struct _GoodTypesSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _good_types_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _good_types_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _good_types_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 691s # { 691s # _good_types_skeleton_handle_method_call, 691s # _good_types_skeleton_handle_get_property, 691s # _good_types_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return good_types_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_good_types_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static gboolean _good_types_emit_changed (gpointer user_data); 691s # 691s # static void 691s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # gboolean emit_changed = FALSE; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # { 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # emit_changed = TRUE; 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # 691s # if (emit_changed) 691s # _good_types_emit_changed (skeleton); 691s # } 691s # 691s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (GoodTypesSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_skeleton_finalize (GObject *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # guint n; 691s # for (n = 0; n < 1; n++) 691s # g_value_unset (&skeleton->priv->properties[n]); 691s # g_free (skeleton->priv->properties); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static gboolean 691s # _good_types_emit_changed (gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GList *l; 691s # GVariantBuilder builder; 691s # GVariantBuilder invalidated_builder; 691s # guint num_changes; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #else 691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #endif 691s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *cp = l->data; 691s # GVariant *variant; 691s # const GValue *cur_value; 691s # 691s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 691s # if (!_g_value_equal (cur_value, &cp->orig_value)) 691s # { 691s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 691s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 691s # g_variant_unref (variant); 691s # num_changes++; 691s # } 691s # } 691s # if (num_changes > 0) 691s # { 691s # GList *connections, *ll; 691s # GVariant *signal_variant; 691s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 691s # &builder, &invalidated_builder)); 691s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 691s # for (ll = connections; ll != NULL; ll = ll->next) 691s # { 691s # GDBusConnection *connection = ll->data; 691s # 691s # g_dbus_connection_emit_signal (connection, 691s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 691s # "org.freedesktop.DBus.Properties", 691s # "PropertiesChanged", 691s # signal_variant, 691s # NULL); 691s # } 691s # g_variant_unref (signal_variant); 691s # g_list_free_full (connections, g_object_unref); 691s # } 691s # else 691s # { 691s # g_variant_builder_clear (&builder); 691s # g_variant_builder_clear (&invalidated_builder); 691s # } 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # skeleton->priv->changed_properties = NULL; 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return FALSE; 691s # } 691s # 691s # static void 691s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 691s # { 691s # ChangedProperty *cp; 691s # GList *l; 691s # cp = NULL; 691s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *i_cp = l->data; 691s # if (i_cp->info == info) 691s # { 691s # cp = i_cp; 691s # break; 691s # } 691s # } 691s # if (cp == NULL) 691s # { 691s # cp = g_new0 (ChangedProperty, 1); 691s # cp->prop_id = prop_id; 691s # cp->info = info; 691s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 691s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 691s # g_value_copy (orig_value, &cp->orig_value); 691s # } 691s # } 691s # 691s # static void 691s # good_types_skeleton_notify (GObject *object, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties != NULL && 691s # skeleton->priv->changed_properties_idle_source == NULL) 691s # { 691s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 691s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 691s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 691s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 691s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 691s # g_source_unref (skeleton->priv->changed_properties_idle_source); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static void 691s # good_types_skeleton_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_object_freeze_notify (object); 691s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 691s # { 691s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 691s # info->emits_changed_signal) 691s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 691s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 691s # g_object_notify_by_pspec (object, pspec); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # g_object_thaw_notify (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # skeleton->priv->properties = g_new0 (GValue, 1); 691s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # GVariant *value; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_skeleton_finalize; 691s # gobject_class->get_property = good_types_skeleton_get_property; 691s # gobject_class->set_property = good_types_skeleton_set_property; 691s # gobject_class->notify = good_types_skeleton_notify; 691s # 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_skeleton_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface GoodTypes. 691s # * 691s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 691s # */ 691s # GoodTypes * 691s # good_types_skeleton_new (void) 691s # { 691s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmpsd2mtjuc/tmpiipsf3dg.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpiipsf3dg.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface GoodTypes 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:GoodTypes 691s # * @title: GoodTypes 691s # * @short_description: Generated C code for the GoodTypes D-Bus interface 691s # * 691s # * This section contains code for working with the GoodTypes D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for GoodTypes ---- */ 691s # 691s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodPropertyType", 691s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 691s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 691s # NULL 691s # }, 691s # "good-property-type", 691s # FALSE, 691s # TRUE 691s # }; 691s # 691s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 691s # { 691s # &_good_types_property_info_good_property_type.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodTypes", 691s # NULL, 691s # NULL, 691s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 691s # NULL 691s # }, 691s # "good-types", 691s # }; 691s # 691s # 691s # /** 691s # * good_types_interface_info: 691s # * 691s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # good_types_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * good_types_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 691s # { 691s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # 691s # /** 691s # * GoodTypes: 691s # * 691s # * Abstract interface type for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # /** 691s # * GoodTypesIface: 691s # * @parent_iface: The parent interface. 691s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 691s # * 691s # * Virtual table for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # typedef GoodTypesIface GoodTypesInterface; 691s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 691s # 691s # static void 691s # good_types_default_init (GoodTypesIface *iface) 691s # { 691s # /* GObject properties for D-Bus properties: */ 691s # /** 691s # * GoodTypes:good-property-type: 691s # * 691s # * Represents the D-Bus property "GoodPropertyType". 691s # * 691s # * 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. 691s # */ 691s # g_object_interface_install_property (iface, 691s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 691s # } 691s # 691s # /** 691s # * good_types_get_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets the value of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # GVariant * 691s # good_types_get_good_property_type (GoodTypes *object) 691s # { 691s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 691s # 691s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 691s # } 691s # 691s # /** 691s # * good_types_dup_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets a copy of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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(). 691s # */ 691s # GVariant * 691s # good_types_dup_good_property_type (GoodTypes *object) 691s # { 691s # GVariant *value; 691s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 691s # return value; 691s # } 691s # 691s # /** 691s # * good_types_set_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * @value: The value to set. 691s # * 691s # * Sets the "GoodPropertyType" D-Bus property to @value. 691s # * 691s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 691s # */ 691s # void 691s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 691s # { 691s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesProxy: 691s # * 691s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesProxy. 691s # */ 691s # 691s # struct _GoodTypesProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (GoodTypesProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_proxy_finalize (GObject *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_proxy_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 691s # if (info->use_gvariant) 691s # { 691s # g_value_set_variant (value, variant); 691s # } 691s # else 691s # { 691s # if (variant != NULL) 691s # g_dbus_gvariant_to_gvalue (variant, value); 691s # } 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 691s # GAsyncResult *res, 691s # gpointer user_data) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info = user_data; 691s # GError *error; 691s # GVariant *_ret; 691s # error = NULL; 691s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 691s # if (!_ret) 691s # { 691s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 691s # info->parent_struct.name, 691s # error->message, g_quark_to_string (error->domain), error->code); 691s # g_error_free (error); 691s # } 691s # else 691s # { 691s # g_variant_unref (_ret); 691s # } 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_dbus_proxy_call (G_DBUS_PROXY (object), 691s # "org.freedesktop.DBus.Properties.Set", 691s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static GVariant * 691s # good_types_proxy_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # GVariant *variant; 691s # GVariant *value = NULL; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 691s # value = variant; 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_proxy_init (GoodTypesProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = good_types_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 691s # } 691s # 691s # static void 691s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_proxy_finalize; 691s # gobject_class->get_property = good_types_proxy_get_property; 691s # gobject_class->set_property = good_types_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = good_types_proxy_g_signal; 691s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_proxy_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * good_types_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesSkeleton: 691s # * 691s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesSkeleton. 691s # */ 691s # 691s # struct _GoodTypesSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _good_types_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _good_types_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _good_types_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 691s # { 691s # _good_types_skeleton_handle_method_call, 691s # _good_types_skeleton_handle_get_property, 691s # _good_types_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return good_types_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_good_types_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static gboolean _good_types_emit_changed (gpointer user_data); 691s # 691s # static void 691s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # gboolean emit_changed = FALSE; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # { 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # emit_changed = TRUE; 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # 691s # if (emit_changed) 691s # _good_types_emit_changed (skeleton); 691s # } 691s # 691s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (GoodTypesSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_skeleton_finalize (GObject *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # guint n; 691s # for (n = 0; n < 1; n++) 691s # g_value_unset (&skeleton->priv->properties[n]); 691s # g_free (skeleton->priv->properties); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static gboolean 691s # _good_types_emit_changed (gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GList *l; 691s # GVariantBuilder builder; 691s # GVariantBuilder invalidated_builder; 691s # guint num_changes; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #else 691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #endif 691s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *cp = l->data; 691s # GVariant *variant; 691s # const GValue *cur_value; 691s # 691s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 691s # if (!_g_value_equal (cur_value, &cp->orig_value)) 691s # { 691s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 691s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 691s # g_variant_unref (variant); 691s # num_changes++; 691s # } 691s # } 691s # if (num_changes > 0) 691s # { 691s # GList *connections, *ll; 691s # GVariant *signal_variant; 691s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 691s # &builder, &invalidated_builder)); 691s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 691s # for (ll = connections; ll != NULL; ll = ll->next) 691s # { 691s # GDBusConnection *connection = ll->data; 691s # 691s # g_dbus_connection_emit_signal (connection, 691s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 691s # "org.freedesktop.DBus.Properties", 691s # "PropertiesChanged", 691s # signal_variant, 691s # NULL); 691s # } 691s # g_variant_unref (signal_variant); 691s # g_list_free_full (connections, g_object_unref); 691s # } 691s # else 691s # { 691s # g_variant_builder_clear (&builder); 691s # g_variant_builder_clear (&invalidated_builder); 691s # } 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # skeleton->priv->changed_properties = NULL; 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return FALSE; 691s # } 691s # 691s # static void 691s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 691s # { 691s # ChangedProperty *cp; 691s # GList *l; 691s # cp = NULL; 691s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *i_cp = l->data; 691s # if (i_cp->info == info) 691s # { 691s # cp = i_cp; 691s # break; 691s # } 691s # } 691s # if (cp == NULL) 691s # { 691s # cp = g_new0 (ChangedProperty, 1); 691s # cp->prop_id = prop_id; 691s # cp->info = info; 691s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 691s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 691s # g_value_copy (orig_value, &cp->orig_value); 691s # } 691s # } 691s # 691s # static void 691s # good_types_skeleton_notify (GObject *object, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties != NULL && 691s # skeleton->priv->changed_properties_idle_source == NULL) 691s # { 691s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 691s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 691s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 691s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 691s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 691s # g_source_unref (skeleton->priv->changed_properties_idle_source); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static void 691s # good_types_skeleton_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_object_freeze_notify (object); 691s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 691s # { 691s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 691s # info->emits_changed_signal) 691s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 691s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 691s # g_object_notify_by_pspec (object, pspec); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # g_object_thaw_notify (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # skeleton->priv->properties = g_new0 (GValue, 1); 691s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # GVariant *value; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_skeleton_finalize; 691s # gobject_class->get_property = good_types_skeleton_get_property; 691s # gobject_class->set_property = good_types_skeleton_set_property; 691s # gobject_class->notify = good_types_skeleton_notify; 691s # 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_skeleton_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface GoodTypes. 691s # * 691s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 691s # */ 691s # GoodTypes * 691s # good_types_skeleton_new (void) 691s # { 691s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmpsd2mtjuc/tmpc2hbhf2b.xml: 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsd2mtjuc/tmpc2hbhf2b.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface GoodTypes 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:GoodTypes 691s # * @title: GoodTypes 691s # * @short_description: Generated C code for the GoodTypes D-Bus interface 691s # * 691s # * This section contains code for working with the GoodTypes D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for GoodTypes ---- */ 691s # 691s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodPropertyType", 691s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 691s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 691s # NULL 691s # }, 691s # "good-property-type", 691s # FALSE, 691s # TRUE 691s # }; 691s # 691s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 691s # { 691s # &_good_types_property_info_good_property_type.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "GoodTypes", 691s # NULL, 691s # NULL, 691s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 691s # NULL 691s # }, 691s # "good-types", 691s # }; 691s # 691s # 691s # /** 691s # * good_types_interface_info: 691s # * 691s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # good_types_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * good_types_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 691s # { 691s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # 691s # /** 691s # * GoodTypes: 691s # * 691s # * Abstract interface type for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # /** 691s # * GoodTypesIface: 691s # * @parent_iface: The parent interface. 691s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 691s # * 691s # * Virtual table for the D-Bus interface GoodTypes. 691s # */ 691s # 691s # typedef GoodTypesIface GoodTypesInterface; 691s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 691s # 691s # static void 691s # good_types_default_init (GoodTypesIface *iface) 691s # { 691s # /* GObject properties for D-Bus properties: */ 691s # /** 691s # * GoodTypes:good-property-type: 691s # * 691s # * Represents the D-Bus property "GoodPropertyType". 691s # * 691s # * 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. 691s # */ 691s # g_object_interface_install_property (iface, 691s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 691s # } 691s # 691s # /** 691s # * good_types_get_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets the value of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # GVariant * 691s # good_types_get_good_property_type (GoodTypes *object) 691s # { 691s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 691s # 691s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 691s # } 691s # 691s # /** 691s # * good_types_dup_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * 691s # * Gets a copy of the "GoodPropertyType" D-Bus property. 691s # * 691s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 691s # * 691s # * 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(). 691s # */ 691s # GVariant * 691s # good_types_dup_good_property_type (GoodTypes *object) 691s # { 691s # GVariant *value; 691s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 691s # return value; 691s # } 691s # 691s # /** 691s # * good_types_set_good_property_type: (skip) 691s # * @object: A GoodTypes. 691s # * @value: The value to set. 691s # * 691s # * Sets the "GoodPropertyType" D-Bus property to @value. 691s # * 691s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 691s # */ 691s # void 691s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 691s # { 691s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesProxy: 691s # * 691s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesProxy. 691s # */ 691s # 691s # struct _GoodTypesProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (GoodTypesProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_proxy_finalize (GObject *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_proxy_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 691s # if (info->use_gvariant) 691s # { 691s # g_value_set_variant (value, variant); 691s # } 691s # else 691s # { 691s # if (variant != NULL) 691s # g_dbus_gvariant_to_gvalue (variant, value); 691s # } 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 691s # GAsyncResult *res, 691s # gpointer user_data) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info = user_data; 691s # GError *error; 691s # GVariant *_ret; 691s # error = NULL; 691s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 691s # if (!_ret) 691s # { 691s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 691s # info->parent_struct.name, 691s # error->message, g_quark_to_string (error->domain), error->code); 691s # g_error_free (error); 691s # } 691s # else 691s # { 691s # g_variant_unref (_ret); 691s # } 691s # } 691s # 691s # static void 691s # good_types_proxy_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GVariant *variant; 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_dbus_proxy_call (G_DBUS_PROXY (object), 691s # "org.freedesktop.DBus.Properties.Set", 691s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 691s # g_variant_unref (variant); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static GVariant * 691s # good_types_proxy_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 691s # GVariant *variant; 691s # GVariant *value = NULL; 691s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 691s # value = variant; 691s # if (variant != NULL) 691s # g_variant_unref (variant); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_proxy_init (GoodTypesProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = good_types_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 691s # } 691s # 691s # static void 691s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_proxy_finalize; 691s # gobject_class->get_property = good_types_proxy_get_property; 691s # gobject_class->set_property = good_types_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = good_types_proxy_g_signal; 691s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_proxy_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * good_types_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # good_types_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with good_types_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * good_types_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # GoodTypes * 691s # good_types_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return GOOD_TYPES (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * GoodTypesSkeleton: 691s # * 691s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * GoodTypesSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for GoodTypesSkeleton. 691s # */ 691s # 691s # struct _GoodTypesSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _good_types_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _good_types_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _good_types_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 691s # { 691s # _good_types_skeleton_handle_method_call, 691s # _good_types_skeleton_handle_get_property, 691s # _good_types_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return good_types_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_good_types_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static gboolean _good_types_emit_changed (gpointer user_data); 691s # 691s # static void 691s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 691s # gboolean emit_changed = FALSE; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # { 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # emit_changed = TRUE; 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # 691s # if (emit_changed) 691s # _good_types_emit_changed (skeleton); 691s # } 691s # 691s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (GoodTypesSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # good_types_skeleton_finalize (GObject *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # guint n; 691s # for (n = 0; n < 1; n++) 691s # g_value_unset (&skeleton->priv->properties[n]); 691s # g_free (skeleton->priv->properties); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_get_property (GObject *object, 691s # guint prop_id, 691s # GValue *value, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static gboolean 691s # _good_types_emit_changed (gpointer user_data) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 691s # GList *l; 691s # GVariantBuilder builder; 691s # GVariantBuilder invalidated_builder; 691s # guint num_changes; 691s # 691s # g_mutex_lock (&skeleton->priv->lock); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #else 691s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 691s # #endif 691s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *cp = l->data; 691s # GVariant *variant; 691s # const GValue *cur_value; 691s # 691s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 691s # if (!_g_value_equal (cur_value, &cp->orig_value)) 691s # { 691s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 691s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 691s # g_variant_unref (variant); 691s # num_changes++; 691s # } 691s # } 691s # if (num_changes > 0) 691s # { 691s # GList *connections, *ll; 691s # GVariant *signal_variant; 691s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 691s # &builder, &invalidated_builder)); 691s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 691s # for (ll = connections; ll != NULL; ll = ll->next) 691s # { 691s # GDBusConnection *connection = ll->data; 691s # 691s # g_dbus_connection_emit_signal (connection, 691s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 691s # "org.freedesktop.DBus.Properties", 691s # "PropertiesChanged", 691s # signal_variant, 691s # NULL); 691s # } 691s # g_variant_unref (signal_variant); 691s # g_list_free_full (connections, g_object_unref); 691s # } 691s # else 691s # { 691s # g_variant_builder_clear (&builder); 691s # g_variant_builder_clear (&invalidated_builder); 691s # } 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # skeleton->priv->changed_properties = NULL; 691s # skeleton->priv->changed_properties_idle_source = NULL; 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return FALSE; 691s # } 691s # 691s # static void 691s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 691s # { 691s # ChangedProperty *cp; 691s # GList *l; 691s # cp = NULL; 691s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 691s # { 691s # ChangedProperty *i_cp = l->data; 691s # if (i_cp->info == info) 691s # { 691s # cp = i_cp; 691s # break; 691s # } 691s # } 691s # if (cp == NULL) 691s # { 691s # cp = g_new0 (ChangedProperty, 1); 691s # cp->prop_id = prop_id; 691s # cp->info = info; 691s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 691s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 691s # g_value_copy (orig_value, &cp->orig_value); 691s # } 691s # } 691s # 691s # static void 691s # good_types_skeleton_notify (GObject *object, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_mutex_lock (&skeleton->priv->lock); 691s # if (skeleton->priv->changed_properties != NULL && 691s # skeleton->priv->changed_properties_idle_source == NULL) 691s # { 691s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 691s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 691s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 691s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 691s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 691s # g_source_unref (skeleton->priv->changed_properties_idle_source); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # } 691s # 691s # static void 691s # good_types_skeleton_set_property (GObject *object, 691s # guint prop_id, 691s # const GValue *value, 691s # GParamSpec *pspec) 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # g_assert (prop_id != 0 && prop_id - 1 < 1); 691s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # g_object_freeze_notify (object); 691s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 691s # { 691s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 691s # info->emits_changed_signal) 691s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 691s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 691s # g_object_notify_by_pspec (object, pspec); 691s # } 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # g_object_thaw_notify (object); 691s # } 691s # 691s # static void 691s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # skeleton->priv->properties = g_new0 (GValue, 1); 691s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 691s # } 691s # 691s # static GVariant * 691s # good_types_skeleton_get_good_property_type (GoodTypes *object) 691s # { 691s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 691s # GVariant *value; 691s # g_mutex_lock (&skeleton->priv->lock); 691s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 691s # g_mutex_unlock (&skeleton->priv->lock); 691s # return value; 691s # } 691s # 691s # static void 691s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = good_types_skeleton_finalize; 691s # gobject_class->get_property = good_types_skeleton_get_property; 691s # gobject_class->set_property = good_types_skeleton_set_property; 691s # gobject_class->notify = good_types_skeleton_notify; 691s # 691s # 691s # good_types_override_properties (gobject_class, 1); 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # good_types_skeleton_iface_init (GoodTypesIface *iface) 691s # { 691s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 691s # } 691s # 691s # /** 691s # * good_types_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface GoodTypes. 691s # * 691s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 691s # */ 691s # GoodTypes * 691s # good_types_skeleton_new (void) 691s # { 691s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 691s # } 691s # Error: 691s ok 3 __main__.TestCodegen.test_empty_interface_body 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpuqnxv6su 691s # /tmp/tmpuqnxv6su/tmpmxx5smuy.xml: 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqnxv6su/tmpmxx5smuy.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # Error: 691s ok 4 __main__.TestCodegen.test_empty_interface_header 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpeyw7g3vf 691s # /tmp/tmpeyw7g3vf/tmp1fe7p0lf.xml: 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeyw7g3vf/tmp1fe7p0lf.xml', '--output', '-', '--header'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifndef __STDOUT__ 691s # #define __STDOUT__ 691s # 691s # #include 691s # 691s # G_BEGIN_DECLS 691s # 691s # 691s # G_END_DECLS 691s # 691s # #endif /* __STDOUT__ */ 691s # Error: 691s ok 5 __main__.TestCodegen.test_empty_interface_info_body 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmprtz07zj4 691s # /tmp/tmprtz07zj4/tmphby7a7vn.xml: 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtz07zj4/tmphby7a7vn.xml', '--output', '-', '--interface-info-body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # Error: 691s ok 6 __main__.TestCodegen.test_empty_interface_info_header 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpwa8civii 691s # /tmp/tmpwa8civii/tmpuaovz0_r.xml: 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwa8civii/tmpuaovz0_r.xml', '--output', '-', '--interface-info-header'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifndef __STDOUT__ 691s # #define __STDOUT__ 691s # 691s # #include 691s # 691s # G_BEGIN_DECLS 691s # 691s # 691s # G_END_DECLS 691s # 691s # #endif /* __STDOUT__ */ 691s # Error: 691s ok 7 __main__.TestCodegen.test_generate_docbook 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmp3b9xy_up 691s # /tmp/tmp3b9xy_up/tmpny8su__c.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3b9xy_up/tmpny8su__c.xml', '--generate-docbook', 'test'] 691s # Return code: 0 691s # Output: 691s # 691s # Error: 691s ok 8 __main__.TestCodegen.test_generate_md 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpwd1t1pnd 691s # /tmp/tmpwd1t1pnd/tmp6zk9cws1.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwd1t1pnd/tmp6zk9cws1.xml', '--generate-md', 'test'] 691s # Return code: 0 691s # Output: 691s # 691s # Error: 691s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmpr156ydj_ 691s # /tmp/tmpr156ydj_/tmpb9ihkjyl.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr156ydj_/tmpb9ihkjyl.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 2); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.CallableIface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectCallableIface 691s # * @title: OrgProjectCallableIface 691s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.CallableIface ---- */ 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SimpleMethod", 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-simple-method", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 691s # { 691s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.CallableIface", 691s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-callable-iface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_callable_iface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_callable_iface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_callable_iface_method_marshal_simple_method ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectCallableIface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 691s # */ 691s # 691s # /** 691s # * OrgProjectCallableIfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.CallableIface. 691s # */ 691s # 691s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectCallableIface::handle-simple-method: 691s # * @object: A #OrgProjectCallableIface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * 691s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-simple-method", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_callable_iface_method_marshal_simple_method, 691s # G_TYPE_BOOLEAN, 691s # 1, 691s # G_TYPE_DBUS_METHOD_INVOCATION); 691s # 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_call_simple_method: 691s # * @proxy: A #OrgProjectCallableIfaceProxy. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 691s # * 691s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_callable_iface_call_simple_method ( 691s # OrgProjectCallableIface *proxy, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SimpleMethod", 691s # g_variant_new ("()"), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_call_simple_method_finish: 691s # * @proxy: A #OrgProjectCallableIfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_callable_iface_call_simple_method_finish ( 691s # OrgProjectCallableIface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_call_simple_method_sync: 691s # * @proxy: A #OrgProjectCallableIfaceProxy. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_callable_iface_call_simple_method_sync ( 691s # OrgProjectCallableIface *proxy, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SimpleMethod", 691s # g_variant_new ("()"), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_complete_simple_method: 691s # * @object: A #OrgProjectCallableIface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_callable_iface_complete_simple_method ( 691s # OrgProjectCallableIface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectCallableIfaceProxy: 691s # * 691s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectCallableIfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectCallableIfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectCallableIfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_callable_iface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 691s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 691s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_callable_iface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectCallableIface * 691s # org_project_callable_iface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectCallableIface * 691s # org_project_callable_iface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_callable_iface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectCallableIface * 691s # org_project_callable_iface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectCallableIface * 691s # org_project_callable_iface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectCallableIfaceSkeleton: 691s # * 691s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectCallableIfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectCallableIfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectCallableIfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_callable_iface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_callable_iface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_callable_iface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 691s # { 691s # _org_project_callable_iface_skeleton_handle_method_call, 691s # _org_project_callable_iface_skeleton_handle_get_property, 691s # _org_project_callable_iface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_callable_iface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_callable_iface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_callable_iface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectCallableIface * 691s # org_project_callable_iface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.OtherCallableIface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectOtherCallableIface 691s # * @title: OrgProjectOtherCallableIface 691s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SimpleMethod", 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-simple-method", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 691s # { 691s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.OtherCallableIface", 691s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-other-callable-iface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_other_callable_iface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_other_callable_iface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_other_callable_iface_method_marshal_simple_method ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectOtherCallableIface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 691s # */ 691s # 691s # /** 691s # * OrgProjectOtherCallableIfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 691s # */ 691s # 691s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectOtherCallableIface::handle-simple-method: 691s # * @object: A #OrgProjectOtherCallableIface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * 691s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-simple-method", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_other_callable_iface_method_marshal_simple_method, 691s # G_TYPE_BOOLEAN, 691s # 1, 691s # G_TYPE_DBUS_METHOD_INVOCATION); 691s # 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_call_simple_method: 691s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 691s # * 691s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_other_callable_iface_call_simple_method ( 691s # OrgProjectOtherCallableIface *proxy, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SimpleMethod", 691s # g_variant_new ("()"), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_call_simple_method_finish: 691s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_other_callable_iface_call_simple_method_finish ( 691s # OrgProjectOtherCallableIface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_call_simple_method_sync: 691s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_other_callable_iface_call_simple_method_sync ( 691s # OrgProjectOtherCallableIface *proxy, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SimpleMethod", 691s # g_variant_new ("()"), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_complete_simple_method: 691s # * @object: A #OrgProjectOtherCallableIface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_other_callable_iface_complete_simple_method ( 691s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectOtherCallableIfaceProxy: 691s # * 691s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectOtherCallableIfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectOtherCallableIfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_other_callable_iface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 691s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 691s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_other_callable_iface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectOtherCallableIface * 691s # org_project_other_callable_iface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectOtherCallableIface * 691s # org_project_other_callable_iface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_other_callable_iface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # 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); 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectOtherCallableIface * 691s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectOtherCallableIface * 691s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectOtherCallableIfaceSkeleton: 691s # * 691s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectOtherCallableIfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_other_callable_iface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_other_callable_iface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_other_callable_iface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 691s # { 691s # _org_project_other_callable_iface_skeleton_handle_method_call, 691s # _org_project_other_callable_iface_skeleton_handle_get_property, 691s # _org_project_other_callable_iface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_other_callable_iface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_other_callable_iface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectOtherCallableIface * 691s # org_project_other_callable_iface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # Executing: glib/codegen.py.test 691s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 691s # gdbus-codegen: /usr/bin/gdbus-codegen 691s # tmpdir: /tmp/tmp9h7imc0h 691s # /tmp/tmp9h7imc0h/tmph58s_p4g.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmph58s_p4g.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # gboolean arg_arg_b, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_boolean (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_b", 691s # (gchar *) "b", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodB", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-b", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_b ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_b: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-b", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_b, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_b: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_b: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_b ( 691s # OrgProjectUsefulInterface *proxy, 691s # gboolean arg_arg_b, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodB", 691s # g_variant_new ("(b)", 691s # arg_arg_b), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_b_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_b_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_b_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_b: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_b_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # gboolean arg_arg_b, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodB", 691s # g_variant_new ("(b)", 691s # arg_arg_b), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_b: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_b ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpm_s05c0a.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpm_s05c0a.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # guchar arg_arg_y, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_uchar (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_y", 691s # (gchar *) "y", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodY", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-y", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_y ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_y: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-y", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_y, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_y: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_y: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_y ( 691s # OrgProjectUsefulInterface *proxy, 691s # guchar arg_arg_y, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodY", 691s # g_variant_new ("(y)", 691s # arg_arg_y), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_y_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_y_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_y_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_y: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_y_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # guchar arg_arg_y, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodY", 691s # g_variant_new ("(y)", 691s # arg_arg_y), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_y: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_y ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmptww0pp23.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmptww0pp23.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # gint16 arg_arg_n, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_int (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_n", 691s # (gchar *) "n", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodN", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-n", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_n ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_n: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-n", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_n, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_n: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_n: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_n ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint16 arg_arg_n, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodN", 691s # g_variant_new ("(n)", 691s # arg_arg_n), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_n_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_n_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_n_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_n: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_n_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint16 arg_arg_n, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodN", 691s # g_variant_new ("(n)", 691s # arg_arg_n), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_n: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_n ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpwrt4_wm7.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpwrt4_wm7.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # guint16 arg_arg_q, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_uint (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_q", 691s # (gchar *) "q", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodQ", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-q", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_q ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_q: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-q", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_q, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_q: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_q: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_q ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint16 arg_arg_q, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodQ", 691s # g_variant_new ("(q)", 691s # arg_arg_q), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_q_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_q_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_q_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_q: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_q_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint16 arg_arg_q, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodQ", 691s # g_variant_new ("(q)", 691s # arg_arg_q), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_q: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_q ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmp08tmcfbp.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmp08tmcfbp.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # gint arg_arg_i, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_int (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_i", 691s # (gchar *) "i", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodI", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-i", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_i ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_i: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-i", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_i, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_i: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_i: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_i ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint arg_arg_i, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodI", 691s # g_variant_new ("(i)", 691s # arg_arg_i), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_i_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_i_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_i_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_i: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_i_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint arg_arg_i, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodI", 691s # g_variant_new ("(i)", 691s # arg_arg_i), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_i: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_i ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpno5otqrn.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpno5otqrn.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # guint arg_arg_u, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_uint (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_u", 691s # (gchar *) "u", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodU", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-u", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_u ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_u: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-u", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_u, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_u: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_u: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_u ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint arg_arg_u, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodU", 691s # g_variant_new ("(u)", 691s # arg_arg_u), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_u_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_u_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_u_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_u: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_u_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint arg_arg_u, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodU", 691s # g_variant_new ("(u)", 691s # arg_arg_u), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_u: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_u ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpod4fjp__.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpod4fjp__.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # gint64 arg_arg_x, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_int64 (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_x", 691s # (gchar *) "x", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodX", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-x", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_x ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_x: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-x", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_x, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_x: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_x: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_x ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint64 arg_arg_x, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodX", 691s # g_variant_new ("(x)", 691s # arg_arg_x), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_x_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_x_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_x_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_x: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_x_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # gint64 arg_arg_x, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodX", 691s # g_variant_new ("(x)", 691s # arg_arg_x), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_x: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_x ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpm9udqbk2.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpm9udqbk2.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # guint64 arg_arg_t, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_uint64 (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_t", 691s # (gchar *) "t", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodT", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-t", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_t ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_t: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-t", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_t, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_t: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_t: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_t ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint64 arg_arg_t, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodT", 691s # g_variant_new ("(t)", 691s # arg_arg_t), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_t_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_t_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_t_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_t: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_t_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # guint64 arg_arg_t, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodT", 691s # g_variant_new ("(t)", 691s # arg_arg_t), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_t: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_t ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpmf3gsdp8.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpmf3gsdp8.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # gdouble arg_arg_d, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_double (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_d", 691s # (gchar *) "d", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodD", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-d", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_d ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_d: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-d", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_d, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_d: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_d: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_d ( 691s # OrgProjectUsefulInterface *proxy, 691s # gdouble arg_arg_d, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodD", 691s # g_variant_new ("(d)", 691s # arg_arg_d), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_d_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_d_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_d_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_d: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_d_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # gdouble arg_arg_d, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodD", 691s # g_variant_new ("(d)", 691s # arg_arg_d), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_d: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_d ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpmbfl0z_5.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpmbfl0z_5.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *arg_arg_s, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_string (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_s", 691s # (gchar *) "s", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodS", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-s", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_s ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_s: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-s", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_s, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_s: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_s: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_s ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_s, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodS", 691s # g_variant_new ("(s)", 691s # arg_arg_s), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_s_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_s_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_s_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_s: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_s_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_s, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodS", 691s # g_variant_new ("(s)", 691s # arg_arg_s), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_s: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_s ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmp2w6dt4gn.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmp2w6dt4gn.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *arg_arg_o, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_string (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_o", 691s # (gchar *) "o", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodO", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-o", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_o ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_o: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-o", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_o, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_o: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_o: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_o ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_o, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodO", 691s # g_variant_new ("(o)", 691s # arg_arg_o), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_o_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_o_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_o_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_o: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_o_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_o, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodO", 691s # g_variant_new ("(o)", 691s # arg_arg_o), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_o: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_o ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpcyp3lqsg.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpcyp3lqsg.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *arg_arg_g, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_string (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_g", 691s # (gchar *) "g", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodG", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-g", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_g ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_g: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-g", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_g, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_g: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_g: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_g ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_g, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodG", 691s # g_variant_new ("(g)", 691s # arg_arg_g), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_g_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_g_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_g_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_g: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_g_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_g, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodG", 691s # g_variant_new ("(g)", 691s # arg_arg_g), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_g: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_g ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpr51q6az3.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpr51q6az3.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # GVariant *arg_arg_h, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_variant (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_h", 691s # (gchar *) "h", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodH", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-h", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_h ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_h: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-h", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_h, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_h: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_h: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_h ( 691s # OrgProjectUsefulInterface *proxy, 691s # GVariant *arg_arg_h, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodH", 691s # g_variant_new ("(@h)", 691s # arg_arg_h), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_h_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_h_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_h_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_h: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_h_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # GVariant *arg_arg_h, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodH", 691s # g_variant_new ("(@h)", 691s # arg_arg_h), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_h: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_h ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpn_aw5a9g.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpn_aw5a9g.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *arg_arg_ay, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_string (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_ay", 691s # (gchar *) "ay", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodAy", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-ay", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_ay: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-ay", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_ay, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ay: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_ay: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_ay ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_ay, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAy", 691s # g_variant_new ("(^ay)", 691s # arg_arg_ay), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ay_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_ay_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ay_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_ay: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_ay_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *arg_arg_ay, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAy", 691s # g_variant_new ("(^ay)", 691s # arg_arg_ay), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_ay: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_ay ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpzyr5bgro.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpzyr5bgro.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *const *arg_arg_as, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_boxed (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_as", 691s # (gchar *) "as", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodAs", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-as", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_as ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_as: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-as", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_as, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_as: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_as: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_as ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_as, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAs", 691s # g_variant_new ("(^as)", 691s # arg_arg_as), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_as_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_as_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_as_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_as: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_as_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_as, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAs", 691s # g_variant_new ("(^as)", 691s # arg_arg_as), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_as: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_as ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpzaigur2u.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpzaigur2u.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *const *arg_arg_ao, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_boxed (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_ao", 691s # (gchar *) "ao", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodAo", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-ao", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_ao: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-ao", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_ao, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ao: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_ao: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_ao ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_ao, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAo", 691s # g_variant_new ("(^ao)", 691s # arg_arg_ao), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ao_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_ao_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_ao_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_ao: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_ao_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_ao, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAo", 691s # g_variant_new ("(^ao)", 691s # arg_arg_ao), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_ao: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_ao ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpn57briyb.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpn57briyb.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # const gchar *const *arg_arg_aay, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_boxed (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_aay", 691s # (gchar *) "aay", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodAay", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-aay", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_aay: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-aay", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_aay, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_aay: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_aay: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_aay ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_aay, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAay", 691s # g_variant_new ("(^aay)", 691s # arg_arg_aay), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_aay_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_aay_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_aay_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_aay: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_aay_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # const gchar *const *arg_arg_aay, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAay", 691s # g_variant_new ("(^aay)", 691s # arg_arg_aay), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_aay: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_aay ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 691s # 691s # /tmp/tmp9h7imc0h/tmpekoub166.xml: 691s # 691s # 691s # 691s # 691s # 691s # 691s # 691s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9h7imc0h/tmpekoub166.xml', '--output', '-', '--body'] 691s # Return code: 0 691s # Output: 691s # /* 691s # * This file is generated by gdbus-codegen, do not modify it. 691s # * 691s # * The license of this code is the same as for the D-Bus interface description 691s # * it was derived from. Note that it links to GLib, so must comply with the 691s # * LGPL linking clauses. 691s # */ 691s # 691s # #ifdef HAVE_CONFIG_H 691s # # include "config.h" 691s # #endif 691s # 691s # #include 691s # #ifdef G_OS_UNIX 691s # # include 691s # #endif 691s # 691s # #ifdef G_ENABLE_DEBUG 691s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 691s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 691s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 691s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 691s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 691s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 691s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 691s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 691s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 691s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 691s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 691s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 691s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 691s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 691s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 691s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 691s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 691s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 691s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 691s # #else /* !G_ENABLE_DEBUG */ 691s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 691s # * Do not access GValues directly in your code. Instead, use the 691s # * g_value_get_*() functions 691s # */ 691s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 691s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 691s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 691s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 691s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 691s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 691s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 691s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 691s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 691s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 691s # #endif /* !G_ENABLE_DEBUG */ 691s # 691s # typedef struct 691s # { 691s # GDBusArgInfo parent_struct; 691s # gboolean use_gvariant; 691s # } _ExtendedGDBusArgInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusMethodInfo parent_struct; 691s # const gchar *signal_name; 691s # gboolean pass_fdlist; 691s # } _ExtendedGDBusMethodInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusSignalInfo parent_struct; 691s # const gchar *signal_name; 691s # } _ExtendedGDBusSignalInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusPropertyInfo parent_struct; 691s # const gchar *hyphen_name; 691s # guint use_gvariant : 1; 691s # guint emits_changed_signal : 1; 691s # } _ExtendedGDBusPropertyInfo; 691s # 691s # typedef struct 691s # { 691s # GDBusInterfaceInfo parent_struct; 691s # const gchar *hyphen_name; 691s # } _ExtendedGDBusInterfaceInfo; 691s # 691s # typedef struct 691s # { 691s # const _ExtendedGDBusPropertyInfo *info; 691s # guint prop_id; 691s # GValue orig_value; /* the value before the change */ 691s # } ChangedProperty; 691s # 691s # static void 691s # _changed_property_free (ChangedProperty *data) 691s # { 691s # g_value_unset (&data->orig_value); 691s # g_free (data); 691s # } 691s # 691s # static gboolean 691s # _g_strv_equal0 (gchar **a, gchar **b) 691s # { 691s # gboolean ret = FALSE; 691s # guint n; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # if (g_strv_length (a) != g_strv_length (b)) 691s # goto out; 691s # for (n = 0; a[n] != NULL; n++) 691s # if (g_strcmp0 (a[n], b[n]) != 0) 691s # goto out; 691s # ret = TRUE; 691s # out: 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _g_variant_equal0 (GVariant *a, GVariant *b) 691s # { 691s # gboolean ret = FALSE; 691s # if (a == NULL && b == NULL) 691s # { 691s # ret = TRUE; 691s # goto out; 691s # } 691s # if (a == NULL || b == NULL) 691s # goto out; 691s # ret = g_variant_equal (a, b); 691s # out: 691s # return ret; 691s # } 691s # 691s # G_GNUC_UNUSED static gboolean 691s # _g_value_equal (const GValue *a, const GValue *b) 691s # { 691s # gboolean ret = FALSE; 691s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 691s # switch (G_VALUE_TYPE (a)) 691s # { 691s # case G_TYPE_BOOLEAN: 691s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 691s # break; 691s # case G_TYPE_UCHAR: 691s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 691s # break; 691s # case G_TYPE_INT: 691s # ret = (g_value_get_int (a) == g_value_get_int (b)); 691s # break; 691s # case G_TYPE_UINT: 691s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 691s # break; 691s # case G_TYPE_INT64: 691s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 691s # break; 691s # case G_TYPE_UINT64: 691s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 691s # break; 691s # case G_TYPE_DOUBLE: 691s # { 691s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 691s # gdouble da = g_value_get_double (a); 691s # gdouble db = g_value_get_double (b); 691s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 691s # } 691s # break; 691s # case G_TYPE_STRING: 691s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 691s # break; 691s # case G_TYPE_VARIANT: 691s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 691s # break; 691s # default: 691s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 691s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 691s # else 691s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 691s # break; 691s # } 691s # return ret; 691s # } 691s # 691s # static void 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint G_GNUC_UNUSED, 691s # void *marshal_data) 691s # { 691s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 691s # (void *data1, 691s # GDBusMethodInvocation *arg_method_invocation, 691s # GVariant *arg_arg_asv, 691s # void *data2); 691s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 691s # GCClosure *cc = (GCClosure*) closure; 691s # void *data1, *data2; 691s # gboolean v_return; 691s # 691s # g_return_if_fail (return_value != NULL); 691s # g_return_if_fail (n_param_values == 3); 691s # 691s # if (G_CCLOSURE_SWAP_DATA (closure)) 691s # { 691s # data1 = closure->data; 691s # data2 = g_value_peek_pointer (param_values + 0); 691s # } 691s # else 691s # { 691s # data1 = g_value_peek_pointer (param_values + 0); 691s # data2 = closure->data; 691s # } 691s # 691s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 691s # (marshal_data ? marshal_data : cc->callback); 691s # 691s # v_return = 691s # callback (data1, 691s # g_marshal_value_peek_object (param_values + 1), 691s # g_marshal_value_peek_variant (param_values + 2), 691s # data2); 691s # 691s # g_value_set_boolean (return_value, v_return); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ 691s # * Code for interface org.project.UsefulInterface 691s # * ------------------------------------------------------------------------ 691s # */ 691s # 691s # /** 691s # * SECTION:OrgProjectUsefulInterface 691s # * @title: OrgProjectUsefulInterface 691s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 691s # * 691s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 691s # */ 691s # 691s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 691s # 691s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 691s # { 691s # { 691s # -1, 691s # (gchar *) "arg_asv", 691s # (gchar *) "a{sv}", 691s # NULL 691s # }, 691s # FALSE 691s # }; 691s # 691s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 691s # { 691s # { 691s # -1, 691s # (gchar *) "SingleArgMethodAsv", 691s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 691s # NULL, 691s # NULL 691s # }, 691s # "handle-single-arg-method-asv", 691s # FALSE 691s # }; 691s # 691s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 691s # { 691s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 691s # NULL 691s # }; 691s # 691s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 691s # { 691s # { 691s # -1, 691s # (gchar *) "org.project.UsefulInterface", 691s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 691s # NULL, 691s # NULL, 691s # NULL 691s # }, 691s # "org-project-useful-interface", 691s # }; 691s # 691s # 691s # /** 691s # * org_project_useful_interface_interface_info: 691s # * 691s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 691s # * 691s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 691s # */ 691s # GDBusInterfaceInfo * 691s # org_project_useful_interface_interface_info (void) 691s # { 691s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_override_properties: 691s # * @klass: The class structure for a #GObject derived class. 691s # * @property_id_begin: The property id to assign to the first overridden property. 691s # * 691s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 691s # * The properties are overridden in the order they are defined. 691s # * 691s # * Returns: The last property id. 691s # */ 691s # guint 691s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 691s # { 691s # return property_id_begin - 1; 691s # } 691s # 691s # 691s # inline static void 691s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 691s # GClosure *closure, 691s # GValue *return_value, 691s # unsigned int n_param_values, 691s # const GValue *param_values, 691s # void *invocation_hint, 691s # void *marshal_data) 691s # { 691s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 691s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 691s # } 691s # 691s # 691s # /** 691s # * OrgProjectUsefulInterface: 691s # * 691s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceIface: 691s # * @parent_iface: The parent interface. 691s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 691s # * 691s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 691s # */ 691s # 691s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 691s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 691s # 691s # static void 691s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 691s # { 691s # /* GObject signals for incoming D-Bus method calls: */ 691s # /** 691s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: A #GDBusMethodInvocation. 691s # * @arg_arg_asv: Argument passed by remote caller. 691s # * 691s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 691s # * 691s # * 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. 691s # * 691s # * 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. 691s # */ 691s # g_signal_new ("handle-single-arg-method-asv", 691s # G_TYPE_FROM_INTERFACE (iface), 691s # G_SIGNAL_RUN_LAST, 691s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 691s # g_signal_accumulator_true_handled, 691s # NULL, 691s # org_project_useful_interface_method_marshal_single_arg_method_asv, 691s # G_TYPE_BOOLEAN, 691s # 2, 691s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 691s # 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_asv: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_asv: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 691s # */ 691s # void 691s # org_project_useful_interface_call_single_arg_method_asv ( 691s # OrgProjectUsefulInterface *proxy, 691s # GVariant *arg_arg_asv, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAsv", 691s # g_variant_new ("(@a{sv})", 691s # arg_arg_asv), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # callback, 691s # user_data); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_asv_finish: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_asv_finish ( 691s # OrgProjectUsefulInterface *proxy, 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_call_single_arg_method_asv_sync: 691s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 691s # * @arg_arg_asv: Argument to pass with the method invocation. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL. 691s # * 691s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 691s # * 691s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 691s # */ 691s # gboolean 691s # org_project_useful_interface_call_single_arg_method_asv_sync ( 691s # OrgProjectUsefulInterface *proxy, 691s # GVariant *arg_arg_asv, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GVariant *_ret; 691s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 691s # "SingleArgMethodAsv", 691s # g_variant_new ("(@a{sv})", 691s # arg_arg_asv), 691s # G_DBUS_CALL_FLAGS_NONE, 691s # -1, 691s # cancellable, 691s # error); 691s # if (_ret == NULL) 691s # goto _out; 691s # g_variant_get (_ret, 691s # "()"); 691s # g_variant_unref (_ret); 691s # _out: 691s # return _ret != NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_complete_single_arg_method_asv: 691s # * @object: A #OrgProjectUsefulInterface. 691s # * @invocation: (transfer full): A #GDBusMethodInvocation. 691s # * 691s # * 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. 691s # * 691s # * This method will free @invocation, you cannot use it afterwards. 691s # */ 691s # void 691s # org_project_useful_interface_complete_single_arg_method_asv ( 691s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 691s # GDBusMethodInvocation *invocation) 691s # { 691s # g_dbus_method_invocation_return_value (invocation, 691s # g_variant_new ("()")); 691s # } 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxy: 691s # * 691s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceProxyClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceProxy. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceProxyPrivate 691s # { 691s # GData *qdata; 691s # }; 691s # 691s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_proxy_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 691s # g_datalist_clear (&proxy->priv->qdata); 691s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 691s # guint prop_id G_GNUC_UNUSED, 691s # const GValue *value G_GNUC_UNUSED, 691s # GParamSpec *pspec G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 691s # const gchar *sender_name G_GNUC_UNUSED, 691s # const gchar *signal_name, 691s # GVariant *parameters) 691s # { 691s # _ExtendedGDBusSignalInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # gsize n; 691s # guint signal_id; 691s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 691s # if (info == NULL) 691s # return; 691s # num_params = g_variant_n_children (parameters); 691s # paramv = g_new0 (GValue, num_params + 1); 691s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[0], proxy); 691s # g_variant_iter_init (&iter, parameters); 691s # n = 1; 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_signal_emitv (paramv, signal_id, 0, NULL); 691s # for (n = 0; n < num_params + 1; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 691s # GVariant *changed_properties, 691s # const gchar *const *invalidated_properties) 691s # { 691s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 691s # guint n; 691s # const gchar *key; 691s # GVariantIter *iter; 691s # _ExtendedGDBusPropertyInfo *info; 691s # g_variant_get (changed_properties, "a{sv}", &iter); 691s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 691s # g_datalist_remove_data (&proxy->priv->qdata, key); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # g_variant_iter_free (iter); 691s # for (n = 0; invalidated_properties[n] != NULL; n++) 691s # { 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 691s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 691s # if (info != NULL) 691s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 691s # } 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 691s # #else 691s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 691s # #endif 691s # 691s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusProxyClass *proxy_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 691s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 691s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 691s # 691s # proxy_class = G_DBUS_PROXY_CLASS (klass); 691s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 691s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_sync: 691s # * @connection: A #GDBusConnection. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_sync ( 691s # GDBusConnection *connection, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 691s # * @user_data: User data to pass to @callback. 691s # * 691s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 691s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 691s # */ 691s # void 691s # org_project_useful_interface_proxy_new_for_bus ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GAsyncReadyCallback callback, 691s # gpointer user_data) 691s # { 691s # g_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); 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_finish: 691s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 691s # * @error: Return location for error or %NULL 691s # * 691s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_finish ( 691s # GAsyncResult *res, 691s # GError **error) 691s # { 691s # GObject *ret; 691s # GObject *source_object; 691s # source_object = g_async_result_get_source_object (res); 691s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 691s # g_object_unref (source_object); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_proxy_new_for_bus_sync: 691s # * @bus_type: A #GBusType. 691s # * @flags: Flags from the #GDBusProxyFlags enumeration. 691s # * @name: A bus name (well-known or unique). 691s # * @object_path: An object path. 691s # * @cancellable: (nullable): A #GCancellable or %NULL. 691s # * @error: Return location for error or %NULL 691s # * 691s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 691s # * 691s # * The calling thread is blocked until a reply is received. 691s # * 691s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_proxy_new_for_bus_sync ( 691s # GBusType bus_type, 691s # GDBusProxyFlags flags, 691s # const gchar *name, 691s # const gchar *object_path, 691s # GCancellable *cancellable, 691s # GError **error) 691s # { 691s # GInitable *ret; 691s # 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); 691s # if (ret != NULL) 691s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 691s # else 691s # return NULL; 691s # } 691s # 691s # 691s # /* ------------------------------------------------------------------------ */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeleton: 691s # * 691s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 691s # */ 691s # 691s # /** 691s # * OrgProjectUsefulInterfaceSkeletonClass: 691s # * @parent_class: The parent class. 691s # * 691s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 691s # */ 691s # 691s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 691s # { 691s # GValue *properties; 691s # GList *changed_properties; 691s # GSource *changed_properties_idle_source; 691s # GMainContext *context; 691s # GMutex lock; 691s # }; 691s # 691s # static void 691s # _org_project_useful_interface_skeleton_handle_method_call ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name, 691s # const gchar *method_name, 691s # GVariant *parameters, 691s # GDBusMethodInvocation *invocation, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # _ExtendedGDBusMethodInfo *info; 691s # GVariantIter iter; 691s # GVariant *child; 691s # GValue *paramv; 691s # gsize num_params; 691s # guint num_extra; 691s # gsize n; 691s # guint signal_id; 691s # GValue return_value = G_VALUE_INIT; 691s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 691s # g_assert (info != NULL); 691s # num_params = g_variant_n_children (parameters); 691s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 691s # n = 0; 691s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_set_object (¶mv[n++], skeleton); 691s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 691s # g_value_set_object (¶mv[n++], invocation); 691s # if (info->pass_fdlist) 691s # { 691s # #ifdef G_OS_UNIX 691s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 691s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 691s # #else 691s # g_assert_not_reached (); 691s # #endif 691s # } 691s # g_variant_iter_init (&iter, parameters); 691s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 691s # { 691s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 691s # if (arg_info->use_gvariant) 691s # { 691s # g_value_init (¶mv[n], G_TYPE_VARIANT); 691s # g_value_set_variant (¶mv[n], child); 691s # n++; 691s # } 691s # else 691s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 691s # g_variant_unref (child); 691s # } 691s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 691s # g_value_init (&return_value, G_TYPE_BOOLEAN); 691s # g_signal_emitv (paramv, signal_id, 0, &return_value); 691s # if (!g_value_get_boolean (&return_value)) 691s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 691s # g_value_unset (&return_value); 691s # for (n = 0; n < num_params + num_extra; n++) 691s # g_value_unset (¶mv[n]); 691s # g_free (paramv); 691s # } 691s # 691s # static GVariant * 691s # _org_project_useful_interface_skeleton_handle_get_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # GVariant *ret; 691s # ret = NULL; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # g_value_init (&value, pspec->value_type); 691s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 691s # g_value_unset (&value); 691s # } 691s # return ret; 691s # } 691s # 691s # static gboolean 691s # _org_project_useful_interface_skeleton_handle_set_property ( 691s # GDBusConnection *connection G_GNUC_UNUSED, 691s # const gchar *sender G_GNUC_UNUSED, 691s # const gchar *object_path G_GNUC_UNUSED, 691s # const gchar *interface_name G_GNUC_UNUSED, 691s # const gchar *property_name, 691s # GVariant *variant, 691s # GError **error, 691s # gpointer user_data) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 691s # GValue value = G_VALUE_INIT; 691s # GParamSpec *pspec; 691s # _ExtendedGDBusPropertyInfo *info; 691s # gboolean ret; 691s # ret = FALSE; 691s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 691s # g_assert (info != NULL); 691s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 691s # if (pspec == NULL) 691s # { 691s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 691s # } 691s # else 691s # { 691s # if (info->use_gvariant) 691s # g_value_set_variant (&value, variant); 691s # else 691s # g_dbus_gvariant_to_gvalue (variant, &value); 691s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 691s # g_value_unset (&value); 691s # ret = TRUE; 691s # } 691s # return ret; 691s # } 691s # 691s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 691s # { 691s # _org_project_useful_interface_skeleton_handle_method_call, 691s # _org_project_useful_interface_skeleton_handle_get_property, 691s # _org_project_useful_interface_skeleton_handle_set_property, 691s # {NULL} 691s # }; 691s # 691s # static GDBusInterfaceInfo * 691s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return org_project_useful_interface_interface_info (); 691s # } 691s # 691s # static GDBusInterfaceVTable * 691s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 691s # { 691s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 691s # } 691s # 691s # static GVariant * 691s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 691s # 691s # GVariantBuilder builder; 691s # guint n; 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 691s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #else 691s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 691s # #endif 691s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 691s # goto out; 691s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 691s # { 691s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 691s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 691s # { 691s # GVariant *value; 691s # 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); 691s # if (value != NULL) 691s # { 691s # g_variant_take_ref (value); 691s # g_variant_builder_add (&builder, "{sv}", info->name, value); 691s # g_variant_unref (value); 691s # } 691s # } 691s # } 691s # out: 691s # return g_variant_builder_end (&builder); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #else 691s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 691s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 691s # 691s # #endif 691s # static void 691s # org_project_useful_interface_skeleton_finalize (GObject *object) 691s # { 691s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 691s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 691s # if (skeleton->priv->changed_properties_idle_source != NULL) 691s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 691s # g_main_context_unref (skeleton->priv->context); 691s # g_mutex_clear (&skeleton->priv->lock); 691s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 691s # { 691s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 691s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 691s # #else 691s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 691s # #endif 691s # 691s # g_mutex_init (&skeleton->priv->lock); 691s # skeleton->priv->context = g_main_context_ref_thread_default (); 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 691s # { 691s # GObjectClass *gobject_class; 691s # GDBusInterfaceSkeletonClass *skeleton_class; 691s # 691s # gobject_class = G_OBJECT_CLASS (klass); 691s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 691s # 691s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 691s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 691s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 691s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 691s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 691s # 691s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 691s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 691s # #endif 691s # } 691s # 691s # static void 691s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 691s # { 691s # } 691s # 691s # /** 691s # * org_project_useful_interface_skeleton_new: 691s # * 691s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 691s # * 691s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 691s # */ 691s # OrgProjectUsefulInterface * 691s # org_project_useful_interface_skeleton_new (void) 691s # { 691s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 691s # } 691s # Error: 692s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpjy_euhxu 692s # /tmp/tmpjy_euhxu/tmpd1bdcj89.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpd1bdcj89.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodB", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-b", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_b ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-b", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_b, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_b: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_b ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodB", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_b_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_b_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gboolean *out_arg_b, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(b)", 692s # out_arg_b); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_b_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_b_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gboolean *out_arg_b, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodB", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(b)", 692s # out_arg_b); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_b: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_b: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_b ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gboolean arg_b) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(b)", 692s # arg_b)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpymf5gb7c.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpymf5gb7c.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodY", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-y", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_y ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-y", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_y, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_y: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_y ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodY", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_y_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_y_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # guchar *out_arg_y, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(y)", 692s # out_arg_y); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_y_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_y_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # guchar *out_arg_y, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodY", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(y)", 692s # out_arg_y); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_y: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_y: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_y ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # guchar arg_y) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(y)", 692s # arg_y)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpq6pp7cq7.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpq6pp7cq7.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodN", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-n", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_n ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-n", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_n, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_n: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_n ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodN", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_n_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_n_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint16 *out_arg_n, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(n)", 692s # out_arg_n); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_n_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_n_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint16 *out_arg_n, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodN", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(n)", 692s # out_arg_n); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_n: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_n: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_n ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gint16 arg_n) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(n)", 692s # arg_n)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpb00oiwa_.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpb00oiwa_.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodQ", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-q", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_q ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-q", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_q, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_q: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_q ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodQ", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_q_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_q_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint16 *out_arg_q, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(q)", 692s # out_arg_q); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_q_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_q_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint16 *out_arg_q, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodQ", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(q)", 692s # out_arg_q); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_q: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_q: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_q ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # guint16 arg_q) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(q)", 692s # arg_q)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpw9ymgpak.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpw9ymgpak.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodI", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-i", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_i ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-i", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_i, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_i: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_i ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodI", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_i_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_i_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint *out_arg_i, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(i)", 692s # out_arg_i); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_i_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_i_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint *out_arg_i, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodI", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(i)", 692s # out_arg_i); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_i: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_i: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_i ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gint arg_i) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(i)", 692s # arg_i)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpb9iydma6.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpb9iydma6.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodU", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-u", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_u ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-u", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_u, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_u: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_u ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodU", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_u_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_u_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint *out_arg_u, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(u)", 692s # out_arg_u); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_u_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_u_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint *out_arg_u, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodU", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(u)", 692s # out_arg_u); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_u: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_u: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_u ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # guint arg_u) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(u)", 692s # arg_u)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmp_4mqr9cz.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmp_4mqr9cz.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodX", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-x", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_x ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-x", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_x, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_x: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_x ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodX", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_x_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_x_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint64 *out_arg_x, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(x)", 692s # out_arg_x); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_x_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_x_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gint64 *out_arg_x, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodX", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(x)", 692s # out_arg_x); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_x: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_x: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_x ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gint64 arg_x) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(x)", 692s # arg_x)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpouu97206.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpouu97206.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodT", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-t", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_t ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-t", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_t, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_t: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_t ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodT", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_t_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_t_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint64 *out_arg_t, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(t)", 692s # out_arg_t); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_t_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_t_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # guint64 *out_arg_t, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodT", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(t)", 692s # out_arg_t); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_t: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_t: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_t ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # guint64 arg_t) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(t)", 692s # arg_t)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpl7vl0x4j.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpl7vl0x4j.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodD", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-d", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_d ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-d", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_d, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_d: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_d ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodD", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_d_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_d_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gdouble *out_arg_d, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(d)", 692s # out_arg_d); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_d_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_d_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gdouble *out_arg_d, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodD", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(d)", 692s # out_arg_d); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_d: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_d: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_d ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gdouble arg_d) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(d)", 692s # arg_d)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmp20wx_li3.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmp20wx_li3.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodS", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-s", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_s ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-s", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_s, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_s: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_s ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodS", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_s_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_s_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_s, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(s)", 692s # out_arg_s); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_s_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_s_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_s, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodS", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(s)", 692s # out_arg_s); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_s: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_s: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_s ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *arg_s) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(s)", 692s # arg_s)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpqjzweqzx.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpqjzweqzx.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodO", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-o", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_o ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-o", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_o, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_o: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_o ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodO", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_o_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_o_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_o, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(o)", 692s # out_arg_o); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_o_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_o_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_o, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodO", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(o)", 692s # out_arg_o); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_o: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_o: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_o ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *arg_o) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(o)", 692s # arg_o)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmphl0sbw8j.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmphl0sbw8j.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodG", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-g", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_g ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-g", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_g, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_g: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_g ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodG", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_g_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_g_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_g, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(g)", 692s # out_arg_g); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_g_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_g_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_g, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodG", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(g)", 692s # out_arg_g); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_g: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_g: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_g ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *arg_g) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(g)", 692s # arg_g)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmps0gb8f8w.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmps0gb8f8w.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodH", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-h", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_h ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-h", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_h, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_h: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_h ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodH", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_h_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_h_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # GVariant **out_arg_h, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(@h)", 692s # out_arg_h); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_h_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_h_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # GVariant **out_arg_h, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodH", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(@h)", 692s # out_arg_h); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_h: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_h: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_h ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # GVariant *arg_h) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(@h)", 692s # arg_h)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpzazybbhv.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpzazybbhv.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodAy", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-ay", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-ay", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_ay, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ay: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_ay ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAy", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ay_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_ay_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_ay, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^ay)", 692s # out_arg_ay); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ay_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_ay_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar **out_arg_ay, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAy", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^ay)", 692s # out_arg_ay); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_ay: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_ay: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_ay ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *arg_ay) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(^ay)", 692s # arg_ay)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpftpnlt46.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpftpnlt46.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodAs", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-as", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_as ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-as", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_as, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_as: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_as ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAs", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_as_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_as_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_as, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^as)", 692s # out_arg_as); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_as_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_as_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_as, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAs", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^as)", 692s # out_arg_as); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_as: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_as: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_as ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *const *arg_as) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(^as)", 692s # arg_as)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmpgqjyrxlx.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmpgqjyrxlx.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodAo", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-ao", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-ao", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_ao, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ao: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_ao ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAo", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ao_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_ao_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_ao, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^ao)", 692s # out_arg_ao); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_ao_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_ao_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_ao, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAo", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^ao)", 692s # out_arg_ao); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_ao: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_ao: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_ao ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *const *arg_ao) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(^ao)", 692s # arg_ao)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmplpik52ju.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmplpik52ju.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodAay", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-aay", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-aay", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_aay, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_aay: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_aay ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAay", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_aay_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_aay_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_aay, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^aay)", 692s # out_arg_aay); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_aay_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_aay_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # gchar ***out_arg_aay, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAay", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(^aay)", 692s # out_arg_aay); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_aay: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_aay: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_aay ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # const gchar *const *arg_aay) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(^aay)", 692s # arg_aay)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s # 692s # /tmp/tmpjy_euhxu/tmp1k3k6ak5.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjy_euhxu/tmp1k3k6ak5.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "arg_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgMethodAsv", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-single-arg-method-asv", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-single-arg-method-asv", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_useful_interface_method_marshal_single_arg_method_asv, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_asv: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_useful_interface_call_single_arg_method_asv ( 692s # OrgProjectUsefulInterface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAsv", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_asv_finish: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_asv_finish ( 692s # OrgProjectUsefulInterface *proxy, 692s # GVariant **out_arg_asv, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(@a{sv})", 692s # out_arg_asv); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_call_single_arg_method_asv_sync: 692s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 692s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_useful_interface_call_single_arg_method_asv_sync ( 692s # OrgProjectUsefulInterface *proxy, 692s # GVariant **out_arg_asv, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SingleArgMethodAsv", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(@a{sv})", 692s # out_arg_asv); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_complete_single_arg_method_asv: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @arg_asv: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_useful_interface_complete_single_arg_method_asv ( 692s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # GVariant *arg_asv) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(@a{sv})", 692s # arg_asv)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpuxcadqae 692s # /tmp/tmpuxcadqae/tmpgqvynecr.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuxcadqae/tmpgqvynecr.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 20); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # g_marshal_value_peek_boolean (param_values + 2), 692s # g_marshal_value_peek_uchar (param_values + 3), 692s # g_marshal_value_peek_int (param_values + 4), 692s # g_marshal_value_peek_uint (param_values + 5), 692s # g_marshal_value_peek_int (param_values + 6), 692s # g_marshal_value_peek_uint (param_values + 7), 692s # g_marshal_value_peek_int64 (param_values + 8), 692s # g_marshal_value_peek_uint64 (param_values + 9), 692s # g_marshal_value_peek_double (param_values + 10), 692s # g_marshal_value_peek_string (param_values + 11), 692s # g_marshal_value_peek_string (param_values + 12), 692s # g_marshal_value_peek_string (param_values + 13), 692s # g_marshal_value_peek_variant (param_values + 14), 692s # g_marshal_value_peek_string (param_values + 15), 692s # g_marshal_value_peek_boxed (param_values + 16), 692s # g_marshal_value_peek_boxed (param_values + 17), 692s # g_marshal_value_peek_boxed (param_values + 18), 692s # g_marshal_value_peek_variant (param_values + 19), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.CallableIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectCallableIface 692s # * @title: OrgProjectCallableIface 692s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.CallableIface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 692s # { 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 692s # { 692s # { 692s # -1, 692s # (gchar *) "MethodWithManyArgs", 692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "handle-method-with-many-args", 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 692s # { 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SameMethodWithManyArgs", 692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "handle-same-method-with-many-args", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 692s # { 692s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 692s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.CallableIface", 692s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-callable-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_callable_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_callable_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_callable_iface_method_marshal_method_with_many_args ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _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, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _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, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectCallableIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 692s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.CallableIface. 692s # */ 692s # 692s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectCallableIface::handle-method-with-many-args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * @arg_an_b: Argument passed by remote caller. 692s # * @arg_an_y: Argument passed by remote caller. 692s # * @arg_an_n: Argument passed by remote caller. 692s # * @arg_an_q: Argument passed by remote caller. 692s # * @arg_an_i: Argument passed by remote caller. 692s # * @arg_an_u: Argument passed by remote caller. 692s # * @arg_an_x: Argument passed by remote caller. 692s # * @arg_an_t: Argument passed by remote caller. 692s # * @arg_an_d: Argument passed by remote caller. 692s # * @arg_an_s: Argument passed by remote caller. 692s # * @arg_an_o: Argument passed by remote caller. 692s # * @arg_an_g: Argument passed by remote caller. 692s # * @arg_an_h: Argument passed by remote caller. 692s # * @arg_an_ay: Argument passed by remote caller. 692s # * @arg_an_as: Argument passed by remote caller. 692s # * @arg_an_ao: Argument passed by remote caller. 692s # * @arg_an_aay: Argument passed by remote caller. 692s # * @arg_an_asv: Argument passed by remote caller. 692s # * 692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-method-with-many-args", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_callable_iface_method_marshal_method_with_many_args, 692s # G_TYPE_BOOLEAN, 692s # 19, 692s # 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); 692s # 692s # /** 692s # * OrgProjectCallableIface::handle-same-method-with-many-args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * @arg_an_b: Argument passed by remote caller. 692s # * @arg_an_y: Argument passed by remote caller. 692s # * @arg_an_n: Argument passed by remote caller. 692s # * @arg_an_q: Argument passed by remote caller. 692s # * @arg_an_i: Argument passed by remote caller. 692s # * @arg_an_u: Argument passed by remote caller. 692s # * @arg_an_x: Argument passed by remote caller. 692s # * @arg_an_t: Argument passed by remote caller. 692s # * @arg_an_d: Argument passed by remote caller. 692s # * @arg_an_s: Argument passed by remote caller. 692s # * @arg_an_o: Argument passed by remote caller. 692s # * @arg_an_g: Argument passed by remote caller. 692s # * @arg_an_h: Argument passed by remote caller. 692s # * @arg_an_ay: Argument passed by remote caller. 692s # * @arg_an_as: Argument passed by remote caller. 692s # * @arg_an_ao: Argument passed by remote caller. 692s # * @arg_an_aay: Argument passed by remote caller. 692s # * @arg_an_asv: Argument passed by remote caller. 692s # * 692s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-same-method-with-many-args", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_callable_iface_method_marshal_same_method_with_many_args, 692s # G_TYPE_BOOLEAN, 692s # 19, 692s # 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); 692s # 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_callable_iface_call_method_with_many_args ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args_finish: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_method_with_many_args_finish ( 692s # OrgProjectCallableIface *proxy, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args_sync: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_method_with_many_args_sync ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_same_method_with_many_args: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_callable_iface_call_same_method_with_many_args ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "SameMethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_same_method_with_many_args_finish: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_same_method_with_many_args_finish ( 692s # OrgProjectCallableIface *proxy, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_same_method_with_many_args_sync: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_same_method_with_many_args_sync ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "SameMethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_complete_method_with_many_args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_callable_iface_complete_method_with_many_args ( 692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("()")); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_complete_same_method_with_many_args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_callable_iface_complete_same_method_with_many_args ( 692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("()")); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceProxy: 692s # * 692s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectCallableIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectCallableIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_callable_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_callable_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_callable_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceSkeleton: 692s # * 692s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectCallableIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectCallableIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_callable_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_callable_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_callable_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 692s # { 692s # _org_project_callable_iface_skeleton_handle_method_call, 692s # _org_project_callable_iface_skeleton_handle_get_property, 692s # _org_project_callable_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_callable_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_callable_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.OtherCallableIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectOtherCallableIface 692s # * @title: OrgProjectOtherCallableIface 692s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 692s # { 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 692s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 692s # { 692s # { 692s # -1, 692s # (gchar *) "MethodWithManyArgs", 692s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "handle-method-with-many-args", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 692s # { 692s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.OtherCallableIface", 692s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-other-callable-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_other_callable_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_other_callable_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _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, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectOtherCallableIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherCallableIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 692s # */ 692s # 692s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 692s # * @object: A #OrgProjectOtherCallableIface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * @arg_an_b: Argument passed by remote caller. 692s # * @arg_an_y: Argument passed by remote caller. 692s # * @arg_an_n: Argument passed by remote caller. 692s # * @arg_an_q: Argument passed by remote caller. 692s # * @arg_an_i: Argument passed by remote caller. 692s # * @arg_an_u: Argument passed by remote caller. 692s # * @arg_an_x: Argument passed by remote caller. 692s # * @arg_an_t: Argument passed by remote caller. 692s # * @arg_an_d: Argument passed by remote caller. 692s # * @arg_an_s: Argument passed by remote caller. 692s # * @arg_an_o: Argument passed by remote caller. 692s # * @arg_an_g: Argument passed by remote caller. 692s # * @arg_an_h: Argument passed by remote caller. 692s # * @arg_an_ay: Argument passed by remote caller. 692s # * @arg_an_as: Argument passed by remote caller. 692s # * @arg_an_ao: Argument passed by remote caller. 692s # * @arg_an_aay: Argument passed by remote caller. 692s # * @arg_an_asv: Argument passed by remote caller. 692s # * 692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-method-with-many-args", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_other_callable_iface_method_marshal_method_with_many_args, 692s # G_TYPE_BOOLEAN, 692s # 19, 692s # 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); 692s # 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_call_method_with_many_args: 692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_other_callable_iface_call_method_with_many_args ( 692s # OrgProjectOtherCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_call_method_with_many_args_finish: 692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_other_callable_iface_call_method_with_many_args_finish ( 692s # OrgProjectOtherCallableIface *proxy, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_call_method_with_many_args_sync: 692s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 692s # * @arg_an_b: Argument to pass with the method invocation. 692s # * @arg_an_y: Argument to pass with the method invocation. 692s # * @arg_an_n: Argument to pass with the method invocation. 692s # * @arg_an_q: Argument to pass with the method invocation. 692s # * @arg_an_i: Argument to pass with the method invocation. 692s # * @arg_an_u: Argument to pass with the method invocation. 692s # * @arg_an_x: Argument to pass with the method invocation. 692s # * @arg_an_t: Argument to pass with the method invocation. 692s # * @arg_an_d: Argument to pass with the method invocation. 692s # * @arg_an_s: Argument to pass with the method invocation. 692s # * @arg_an_o: Argument to pass with the method invocation. 692s # * @arg_an_g: Argument to pass with the method invocation. 692s # * @arg_an_h: Argument to pass with the method invocation. 692s # * @arg_an_ay: Argument to pass with the method invocation. 692s # * @arg_an_as: Argument to pass with the method invocation. 692s # * @arg_an_ao: Argument to pass with the method invocation. 692s # * @arg_an_aay: Argument to pass with the method invocation. 692s # * @arg_an_asv: Argument to pass with the method invocation. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_other_callable_iface_call_method_with_many_args_sync ( 692s # OrgProjectOtherCallableIface *proxy, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "()"); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_complete_method_with_many_args: 692s # * @object: A #OrgProjectOtherCallableIface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_other_callable_iface_complete_method_with_many_args ( 692s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("()")); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherCallableIfaceProxy: 692s # * 692s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherCallableIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectOtherCallableIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_callable_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_callable_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherCallableIface * 692s # org_project_other_callable_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherCallableIface * 692s # org_project_other_callable_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_callable_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherCallableIface * 692s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherCallableIface * 692s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherCallableIfaceSkeleton: 692s # * 692s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherCallableIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_other_callable_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_other_callable_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_other_callable_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 692s # { 692s # _org_project_other_callable_iface_skeleton_handle_method_call, 692s # _org_project_other_callable_iface_skeleton_handle_get_property, 692s # _org_project_other_callable_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_other_callable_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_other_callable_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectOtherCallableIface * 692s # org_project_other_callable_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpy69x5nnz 692s # /tmp/tmpy69x5nnz/tmpsr8kgqgp.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy69x5nnz/tmpsr8kgqgp.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.CallableIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectCallableIface 692s # * @title: OrgProjectCallableIface 692s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for org.project.CallableIface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 692s # { 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 692s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 692s # { 692s # { 692s # -1, 692s # (gchar *) "MethodWithManyArgs", 692s # NULL, 692s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-method-with-many-args", 692s # FALSE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 692s # { 692s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.CallableIface", 692s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-callable-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_callable_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_callable_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_callable_iface_method_marshal_method_with_many_args ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectCallableIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.CallableIface. 692s # */ 692s # 692s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * OrgProjectCallableIface::handle-method-with-many-args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * 692s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-method-with-many-args", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # org_project_callable_iface_method_marshal_method_with_many_args, 692s # G_TYPE_BOOLEAN, 692s # 1, 692s # G_TYPE_DBUS_METHOD_INVOCATION); 692s # 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # org_project_callable_iface_call_method_with_many_args ( 692s # OrgProjectCallableIface *proxy, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args_finish: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_method_with_many_args_finish ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean *out_an_b, 692s # guchar *out_an_y, 692s # gint16 *out_an_n, 692s # guint16 *out_an_q, 692s # gint *out_an_i, 692s # guint *out_an_u, 692s # gint64 *out_an_x, 692s # guint64 *out_an_t, 692s # gdouble *out_an_d, 692s # gchar **out_an_s, 692s # gchar **out_an_o, 692s # gchar **out_an_g, 692s # GVariant **out_an_h, 692s # gchar **out_an_ay, 692s # gchar ***out_an_as, 692s # gchar ***out_an_ao, 692s # gchar ***out_an_aay, 692s # GVariant **out_an_asv, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # out_an_b, 692s # out_an_y, 692s # out_an_n, 692s # out_an_q, 692s # out_an_i, 692s # out_an_u, 692s # out_an_x, 692s # out_an_t, 692s # out_an_d, 692s # out_an_s, 692s # out_an_o, 692s # out_an_g, 692s # out_an_h, 692s # out_an_ay, 692s # out_an_as, 692s # out_an_ao, 692s # out_an_aay, 692s # out_an_asv); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_call_method_with_many_args_sync: 692s # * @proxy: A #OrgProjectCallableIfaceProxy. 692s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 692s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # org_project_callable_iface_call_method_with_many_args_sync ( 692s # OrgProjectCallableIface *proxy, 692s # gboolean *out_an_b, 692s # guchar *out_an_y, 692s # gint16 *out_an_n, 692s # guint16 *out_an_q, 692s # gint *out_an_i, 692s # guint *out_an_u, 692s # gint64 *out_an_x, 692s # guint64 *out_an_t, 692s # gdouble *out_an_d, 692s # gchar **out_an_s, 692s # gchar **out_an_o, 692s # gchar **out_an_g, 692s # GVariant **out_an_h, 692s # gchar **out_an_ay, 692s # gchar ***out_an_as, 692s # gchar ***out_an_ao, 692s # gchar ***out_an_aay, 692s # GVariant **out_an_asv, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 692s # "MethodWithManyArgs", 692s # g_variant_new ("()"), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # out_an_b, 692s # out_an_y, 692s # out_an_n, 692s # out_an_q, 692s # out_an_i, 692s # out_an_u, 692s # out_an_x, 692s # out_an_t, 692s # out_an_d, 692s # out_an_s, 692s # out_an_o, 692s # out_an_g, 692s # out_an_h, 692s # out_an_ay, 692s # out_an_as, 692s # out_an_ao, 692s # out_an_aay, 692s # out_an_asv); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_complete_method_with_many_args: 692s # * @object: A #OrgProjectCallableIface. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @an_b: Parameter to return. 692s # * @an_y: Parameter to return. 692s # * @an_n: Parameter to return. 692s # * @an_q: Parameter to return. 692s # * @an_i: Parameter to return. 692s # * @an_u: Parameter to return. 692s # * @an_x: Parameter to return. 692s # * @an_t: Parameter to return. 692s # * @an_d: Parameter to return. 692s # * @an_s: Parameter to return. 692s # * @an_o: Parameter to return. 692s # * @an_g: Parameter to return. 692s # * @an_h: Parameter to return. 692s # * @an_ay: Parameter to return. 692s # * @an_as: Parameter to return. 692s # * @an_ao: Parameter to return. 692s # * @an_aay: Parameter to return. 692s # * @an_asv: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # org_project_callable_iface_complete_method_with_many_args ( 692s # OrgProjectCallableIface *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # gboolean an_b, 692s # guchar an_y, 692s # gint16 an_n, 692s # guint16 an_q, 692s # gint an_i, 692s # guint an_u, 692s # gint64 an_x, 692s # guint64 an_t, 692s # gdouble an_d, 692s # const gchar *an_s, 692s # const gchar *an_o, 692s # const gchar *an_g, 692s # GVariant *an_h, 692s # const gchar *an_ay, 692s # const gchar *const *an_as, 692s # const gchar *const *an_ao, 692s # const gchar *const *an_aay, 692s # GVariant *an_asv) 692s # { 692s # g_dbus_method_invocation_return_value (invocation, 692s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # an_b, 692s # an_y, 692s # an_n, 692s # an_q, 692s # an_i, 692s # an_u, 692s # an_x, 692s # an_t, 692s # an_d, 692s # an_s, 692s # an_o, 692s # an_g, 692s # an_h, 692s # an_ay, 692s # an_as, 692s # an_ao, 692s # an_aay, 692s # an_asv)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceProxy: 692s # * 692s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectCallableIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectCallableIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_callable_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_callable_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_callable_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_CALLABLE_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceSkeleton: 692s # * 692s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectCallableIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectCallableIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectCallableIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_callable_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_callable_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_callable_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 692s # { 692s # _org_project_callable_iface_skeleton_handle_method_call, 692s # _org_project_callable_iface_skeleton_handle_get_property, 692s # _org_project_callable_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_callable_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_callable_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_callable_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectCallableIface * 692s # org_project_callable_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmp3ps74fv0 692s # /tmp/tmp3ps74fv0/tmpcrex938p.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ps74fv0/tmpcrex938p.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 692s # (void *data1, 692s # GDBusMethodInvocation *arg_method_invocation, 692s # GUnixFDList *arg_fd_list, 692s # const gchar *arg_greeting, 692s # void *data2); 692s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # gboolean v_return; 692s # 692s # g_return_if_fail (return_value != NULL); 692s # g_return_if_fail (n_param_values == 4); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # v_return = 692s # callback (data1, 692s # g_marshal_value_peek_object (param_values + 1), 692s # g_marshal_value_peek_object (param_values + 2), 692s # g_marshal_value_peek_string (param_values + 3), 692s # data2); 692s # 692s # g_value_set_boolean (return_value, v_return); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface test.FDPassing 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:TestFDPassing 692s # * @title: TestFDPassing 692s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 692s # * 692s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 692s # */ 692s # 692s # /* ---- Introspection data for test.FDPassing ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 692s # { 692s # { 692s # -1, 692s # (gchar *) "greeting", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 692s # { 692s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 692s # { 692s # { 692s # -1, 692s # (gchar *) "response", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 692s # { 692s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 692s # { 692s # { 692s # -1, 692s # (gchar *) "HelloFD", 692s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 692s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 692s # NULL 692s # }, 692s # "handle-hello-fd", 692s # TRUE 692s # }; 692s # 692s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 692s # { 692s # &_test_fdpassing_method_info_hello_fd.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "test.FDPassing", 692s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 692s # NULL, 692s # NULL, 692s # NULL 692s # }, 692s # "test-fdpassing", 692s # }; 692s # 692s # 692s # /** 692s # * test_fdpassing_interface_info: 692s # * 692s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # test_fdpassing_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * test_fdpassing_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # test_fdpassing_method_marshal_hello_fd ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * TestFDPassing: 692s # * 692s # * Abstract interface type for the D-Bus interface test.FDPassing. 692s # */ 692s # 692s # /** 692s # * TestFDPassingIface: 692s # * @parent_iface: The parent interface. 692s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 692s # * 692s # * Virtual table for the D-Bus interface test.FDPassing. 692s # */ 692s # 692s # typedef TestFDPassingIface TestFDPassingInterface; 692s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 692s # 692s # static void 692s # test_fdpassing_default_init (TestFDPassingIface *iface) 692s # { 692s # /* GObject signals for incoming D-Bus method calls: */ 692s # /** 692s # * TestFDPassing::handle-hello-fd: 692s # * @object: A #TestFDPassing. 692s # * @invocation: A #GDBusMethodInvocation. 692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 692s # * @arg_greeting: Argument passed by remote caller. 692s # * 692s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 692s # * 692s # * 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. 692s # * 692s # * 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. 692s # */ 692s # g_signal_new ("handle-hello-fd", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 692s # g_signal_accumulator_true_handled, 692s # NULL, 692s # test_fdpassing_method_marshal_hello_fd, 692s # G_TYPE_BOOLEAN, 692s # 3, 692s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 692s # 692s # } 692s # 692s # /** 692s # * test_fdpassing_call_hello_fd: 692s # * @proxy: A #TestFDPassingProxy. 692s # * @arg_greeting: Argument to pass with the method invocation. 692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 692s # * 692s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 692s # */ 692s # void 692s # test_fdpassing_call_hello_fd ( 692s # TestFDPassing *proxy, 692s # const gchar *arg_greeting, 692s # GUnixFDList *fd_list, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 692s # "HelloFD", 692s # g_variant_new ("(s)", 692s # arg_greeting), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # fd_list, 692s # cancellable, 692s # callback, 692s # user_data); 692s # } 692s # 692s # /** 692s # * test_fdpassing_call_hello_fd_finish: 692s # * @proxy: A #TestFDPassingProxy. 692s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # test_fdpassing_call_hello_fd_finish ( 692s # TestFDPassing *proxy, 692s # gchar **out_response, 692s # GUnixFDList **out_fd_list, 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(s)", 692s # out_response); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * test_fdpassing_call_hello_fd_sync: 692s # * @proxy: A #TestFDPassingProxy. 692s # * @arg_greeting: Argument to pass with the method invocation. 692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 692s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 692s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL. 692s # * 692s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 692s # * 692s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 692s # * 692s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 692s # */ 692s # gboolean 692s # test_fdpassing_call_hello_fd_sync ( 692s # TestFDPassing *proxy, 692s # const gchar *arg_greeting, 692s # GUnixFDList *fd_list, 692s # gchar **out_response, 692s # GUnixFDList **out_fd_list, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GVariant *_ret; 692s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 692s # "HelloFD", 692s # g_variant_new ("(s)", 692s # arg_greeting), 692s # G_DBUS_CALL_FLAGS_NONE, 692s # -1, 692s # fd_list, 692s # out_fd_list, 692s # cancellable, 692s # error); 692s # if (_ret == NULL) 692s # goto _out; 692s # g_variant_get (_ret, 692s # "(s)", 692s # out_response); 692s # g_variant_unref (_ret); 692s # _out: 692s # return _ret != NULL; 692s # } 692s # 692s # /** 692s # * test_fdpassing_complete_hello_fd: 692s # * @object: A #TestFDPassing. 692s # * @invocation: (transfer full): A #GDBusMethodInvocation. 692s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 692s # * @response: Parameter to return. 692s # * 692s # * 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. 692s # * 692s # * This method will free @invocation, you cannot use it afterwards. 692s # */ 692s # void 692s # test_fdpassing_complete_hello_fd ( 692s # TestFDPassing *object G_GNUC_UNUSED, 692s # GDBusMethodInvocation *invocation, 692s # GUnixFDList *fd_list, 692s # const gchar *response) 692s # { 692s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 692s # g_variant_new ("(s)", 692s # response), 692s # fd_list); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * TestFDPassingProxy: 692s # * 692s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * TestFDPassingProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #TestFDPassingProxy. 692s # */ 692s # 692s # struct _TestFDPassingProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (TestFDPassingProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # test_fdpassing_proxy_finalize (GObject *object) 692s # { 692s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = test_fdpassing_proxy_finalize; 692s # gobject_class->get_property = test_fdpassing_proxy_get_property; 692s # gobject_class->set_property = test_fdpassing_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 692s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * test_fdpassing_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # test_fdpassing_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * test_fdpassing_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with test_fdpassing_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # TestFDPassing * 692s # test_fdpassing_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return TEST_FDPASSING (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * test_fdpassing_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # TestFDPassing * 692s # test_fdpassing_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return TEST_FDPASSING (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * test_fdpassing_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # test_fdpassing_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * test_fdpassing_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # TestFDPassing * 692s # test_fdpassing_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return TEST_FDPASSING (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * test_fdpassing_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # TestFDPassing * 692s # test_fdpassing_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return TEST_FDPASSING (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * TestFDPassingSkeleton: 692s # * 692s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * TestFDPassingSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #TestFDPassingSkeleton. 692s # */ 692s # 692s # struct _TestFDPassingSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _test_fdpassing_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _test_fdpassing_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _test_fdpassing_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 692s # { 692s # _test_fdpassing_skeleton_handle_method_call, 692s # _test_fdpassing_skeleton_handle_get_property, 692s # _test_fdpassing_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return test_fdpassing_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (TestFDPassingSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # test_fdpassing_skeleton_finalize (GObject *object) 692s # { 692s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * test_fdpassing_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 692s # * 692s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 692s # */ 692s # TestFDPassing * 692s # test_fdpassing_skeleton_new (void) 692s # { 692s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 15 __main__.TestCodegen.test_generate_rst 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmp9n3d5z7c 692s # /tmp/tmp9n3d5z7c/tmp4lm8h8rf.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9n3d5z7c/tmp4lm8h8rf.xml', '--generate-rst', 'test'] 692s # Return code: 0 692s # Output: 692s # 692s # Error: 692s ok 16 __main__.TestCodegen.test_generate_rst_method 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpj2spzw0b 692s # /tmp/tmpj2spzw0b/tmphnjo9tfk.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj2spzw0b/tmphnjo9tfk.xml', '--generate-rst', 'test'] 692s # Return code: 0 692s # Output: 692s # 692s # Error: 692s ok 17 __main__.TestCodegen.test_generate_rst_property 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpjtbovdqz 692s # /tmp/tmpjtbovdqz/tmptm6rtjnx.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjtbovdqz/tmptm6rtjnx.xml', '--generate-rst', 'test'] 692s # Return code: 0 692s # Output: 692s # 692s # Error: 692s ok 18 __main__.TestCodegen.test_generate_rst_signal 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpas37bu69 692s # /tmp/tmpas37bu69/tmpibby2g9r.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas37bu69/tmpibby2g9r.xml', '--generate-rst', 'test'] 692s # Return code: 0 692s # Output: 692s # 692s # Error: 692s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmp_puu__b8 692s # /tmp/tmp_puu__b8/tmpdu7dc0_y.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_puu__b8/tmpdu7dc0_y.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 692s # GClosure *closure, 692s # GValue *return_value G_GNUC_UNUSED, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 692s # (void *data1, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv, 692s # void *data2); 692s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # 692s # g_return_if_fail (n_param_values == 19); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # callback (data1, 692s # g_marshal_value_peek_boolean (param_values + 1), 692s # g_marshal_value_peek_uchar (param_values + 2), 692s # g_marshal_value_peek_int (param_values + 3), 692s # g_marshal_value_peek_uint (param_values + 4), 692s # g_marshal_value_peek_int (param_values + 5), 692s # g_marshal_value_peek_uint (param_values + 6), 692s # g_marshal_value_peek_int64 (param_values + 7), 692s # g_marshal_value_peek_uint64 (param_values + 8), 692s # g_marshal_value_peek_double (param_values + 9), 692s # g_marshal_value_peek_string (param_values + 10), 692s # g_marshal_value_peek_string (param_values + 11), 692s # g_marshal_value_peek_string (param_values + 12), 692s # g_marshal_value_peek_variant (param_values + 13), 692s # g_marshal_value_peek_string (param_values + 14), 692s # g_marshal_value_peek_boxed (param_values + 15), 692s # g_marshal_value_peek_boxed (param_values + 16), 692s # g_marshal_value_peek_boxed (param_values + 17), 692s # g_marshal_value_peek_variant (param_values + 18), 692s # data2); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.SignalingIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectSignalingIface 692s # * @title: OrgProjectSignalingIface 692s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.SignalingIface ---- */ 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SignalWithManyArgs", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 692s # NULL 692s # }, 692s # "signal-with-many-args" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.SignalingIface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-signaling-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_signaling_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectSignalingIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectSignalingIface::signal-with-many-args: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_b: Argument. 692s # * @arg_an_y: Argument. 692s # * @arg_an_n: Argument. 692s # * @arg_an_q: Argument. 692s # * @arg_an_i: Argument. 692s # * @arg_an_u: Argument. 692s # * @arg_an_x: Argument. 692s # * @arg_an_t: Argument. 692s # * @arg_an_d: Argument. 692s # * @arg_an_s: Argument. 692s # * @arg_an_o: Argument. 692s # * @arg_an_g: Argument. 692s # * @arg_an_h: Argument. 692s # * @arg_an_ay: Argument. 692s # * @arg_an_as: Argument. 692s # * @arg_an_ao: Argument. 692s # * @arg_an_aay: Argument. 692s # * @arg_an_asv: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 692s # g_signal_new ("signal-with-many-args", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 692s # G_TYPE_NONE, 692s # 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); 692s # 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_signal_with_many_args: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_b: Argument to pass with the signal. 692s # * @arg_an_y: Argument to pass with the signal. 692s # * @arg_an_n: Argument to pass with the signal. 692s # * @arg_an_q: Argument to pass with the signal. 692s # * @arg_an_i: Argument to pass with the signal. 692s # * @arg_an_u: Argument to pass with the signal. 692s # * @arg_an_x: Argument to pass with the signal. 692s # * @arg_an_t: Argument to pass with the signal. 692s # * @arg_an_d: Argument to pass with the signal. 692s # * @arg_an_s: Argument to pass with the signal. 692s # * @arg_an_o: Argument to pass with the signal. 692s # * @arg_an_g: Argument to pass with the signal. 692s # * @arg_an_h: Argument to pass with the signal. 692s # * @arg_an_ay: Argument to pass with the signal. 692s # * @arg_an_as: Argument to pass with the signal. 692s # * @arg_an_ao: Argument to pass with the signal. 692s # * @arg_an_aay: Argument to pass with the signal. 692s # * @arg_an_asv: Argument to pass with the signal. 692s # * 692s # * Emits the "SignalWithManyArgs" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_signal_with_many_args ( 692s # OrgProjectSignalingIface *object, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv) 692s # { 692s # 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); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxy: 692s # * 692s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeleton: 692s # * 692s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_signaling_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_signaling_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_signaling_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 692s # { 692s # _org_project_signaling_iface_skeleton_handle_method_call, 692s # _org_project_signaling_iface_skeleton_handle_get_property, 692s # _org_project_signaling_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_signaling_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 692s # OrgProjectSignalingIface *object, 692s # gboolean arg_an_b, 692s # guchar arg_an_y, 692s # gint16 arg_an_n, 692s # guint16 arg_an_q, 692s # gint arg_an_i, 692s # guint arg_an_u, 692s # gint64 arg_an_x, 692s # guint64 arg_an_t, 692s # gdouble arg_an_d, 692s # const gchar *arg_an_s, 692s # const gchar *arg_an_o, 692s # const gchar *arg_an_g, 692s # GVariant *arg_an_h, 692s # const gchar *arg_an_ay, 692s # const gchar *const *arg_an_as, 692s # const gchar *const *arg_an_ao, 692s # const gchar *const *arg_an_aay, 692s # GVariant *arg_an_asv) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 692s # arg_an_b, 692s # arg_an_y, 692s # arg_an_n, 692s # arg_an_q, 692s # arg_an_i, 692s # arg_an_u, 692s # arg_an_x, 692s # arg_an_t, 692s # arg_an_d, 692s # arg_an_s, 692s # arg_an_o, 692s # arg_an_g, 692s # arg_an_h, 692s # arg_an_ay, 692s # arg_an_as, 692s # arg_an_ao, 692s # arg_an_aay, 692s # arg_an_asv)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpg18jvk2t 692s # /tmp/tmpg18jvk2t/tmpvhfgij35.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg18jvk2t/tmpvhfgij35.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_VOID__INT64 ( 692s # GClosure *closure, 692s # GValue *return_value G_GNUC_UNUSED, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 692s # (void *data1, 692s # gint64 arg_an_x, 692s # void *data2); 692s # _GDbusCodegenMarshalVoid_Int64Func callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # callback (data1, 692s # g_marshal_value_peek_int64 (param_values + 1), 692s # data2); 692s # } 692s # 692s # static void 692s # _g_dbus_codegen_marshal_VOID__UINT64 ( 692s # GClosure *closure, 692s # GValue *return_value G_GNUC_UNUSED, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint G_GNUC_UNUSED, 692s # void *marshal_data) 692s # { 692s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 692s # (void *data1, 692s # guint64 arg_an_t, 692s # void *data2); 692s # _GDbusCodegenMarshalVoid_Uint64Func callback; 692s # GCClosure *cc = (GCClosure*) closure; 692s # void *data1, *data2; 692s # 692s # g_return_if_fail (n_param_values == 2); 692s # 692s # if (G_CCLOSURE_SWAP_DATA (closure)) 692s # { 692s # data1 = closure->data; 692s # data2 = g_value_peek_pointer (param_values + 0); 692s # } 692s # else 692s # { 692s # data1 = g_value_peek_pointer (param_values + 0); 692s # data2 = closure->data; 692s # } 692s # 692s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 692s # (marshal_data ? marshal_data : cc->callback); 692s # 692s # callback (data1, 692s # g_marshal_value_peek_uint64 (param_values + 1), 692s # data2); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.SignalingIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectSignalingIface 692s # * @title: OrgProjectSignalingIface 692s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 692s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.SignalingIface ---- */ 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 692s # { 692s # { 692s # -1, 692s # (gchar *) "NoArgSignal", 692s # NULL, 692s # NULL 692s # }, 692s # "no-arg-signal" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_b", 692s # (gchar *) "b", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalB", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-b" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_y", 692s # (gchar *) "y", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalY", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-y" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_n", 692s # (gchar *) "n", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalN", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-n" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_q", 692s # (gchar *) "q", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalQ", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-q" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_i", 692s # (gchar *) "i", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalI", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-i" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_u", 692s # (gchar *) "u", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalU", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-u" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_x", 692s # (gchar *) "x", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalX", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-x" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_t", 692s # (gchar *) "t", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalT", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-t" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_d", 692s # (gchar *) "d", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalD", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-d" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_s", 692s # (gchar *) "s", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalS", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-s" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_o", 692s # (gchar *) "o", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalO", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-o" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_g", 692s # (gchar *) "g", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalG", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-g" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_h", 692s # (gchar *) "h", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalH", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-h" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ay", 692s # (gchar *) "ay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalAY", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-ay" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_as", 692s # (gchar *) "as", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalAS", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-as" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_ao", 692s # (gchar *) "ao", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalAO", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-ao" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_aay", 692s # (gchar *) "aay", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalAAY", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-aay" 692s # }; 692s # 692s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "an_asv", 692s # (gchar *) "a{sv}", 692s # NULL 692s # }, 692s # FALSE 692s # }; 692s # 692s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SingleArgSignalASV", 692s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 692s # NULL 692s # }, 692s # "single-arg-signal-asv" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 692s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.SignalingIface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-signaling-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_signaling_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VOID (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__BOOLEAN (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__UCHAR (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__INT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__UINT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__INT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__UINT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__DOUBLE (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__STRING (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__STRING (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__STRING (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VARIANT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__STRING (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__BOXED (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__BOXED (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__BOXED (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VARIANT (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectSignalingIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 692s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 692s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 692s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 692s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 692s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 692s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 692s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 692s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 692s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 692s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 692s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 692s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 692s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 692s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 692s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 692s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 692s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 692s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectSignalingIface::no-arg-signal: 692s # * @object: A #OrgProjectSignalingIface. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 692s # g_signal_new ("no-arg-signal", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_no_arg_signal, 692s # G_TYPE_NONE, 692s # 0); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-b: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_b: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 692s # g_signal_new ("single-arg-signal-b", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_BOOLEAN); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-y: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_y: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 692s # g_signal_new ("single-arg-signal-y", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_UCHAR); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-n: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_n: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 692s # g_signal_new ("single-arg-signal-n", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_INT); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-q: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_q: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 692s # g_signal_new ("single-arg-signal-q", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_UINT); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-i: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_i: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 692s # g_signal_new ("single-arg-signal-i", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_INT); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-u: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_u: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 692s # g_signal_new ("single-arg-signal-u", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_UINT); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-x: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_x: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 692s # g_signal_new ("single-arg-signal-x", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_INT64); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-t: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_t: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 692s # g_signal_new ("single-arg-signal-t", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_UINT64); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-d: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_d: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 692s # g_signal_new ("single-arg-signal-d", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_DOUBLE); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-s: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_s: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 692s # g_signal_new ("single-arg-signal-s", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRING); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-o: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_o: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 692s # g_signal_new ("single-arg-signal-o", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRING); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-g: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_g: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 692s # g_signal_new ("single-arg-signal-g", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRING); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-h: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_h: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 692s # g_signal_new ("single-arg-signal-h", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_VARIANT); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-ay: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_ay: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 692s # g_signal_new ("single-arg-signal-ay", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRING); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-as: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_as: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 692s # g_signal_new ("single-arg-signal-as", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRV); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-ao: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_ao: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 692s # g_signal_new ("single-arg-signal-ao", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRV); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-aay: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_aay: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 692s # g_signal_new ("single-arg-signal-aay", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_STRV); 692s # 692s # /** 692s # * OrgProjectSignalingIface::single-arg-signal-asv: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_asv: Argument. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 692s # g_signal_new ("single-arg-signal-asv", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 692s # G_TYPE_NONE, 692s # 1, G_TYPE_VARIANT); 692s # 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_no_arg_signal: 692s # * @object: A #OrgProjectSignalingIface. 692s # * 692s # * Emits the "NoArgSignal" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_no_arg_signal ( 692s # OrgProjectSignalingIface *object) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_b: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_b: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalB" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_b ( 692s # OrgProjectSignalingIface *object, 692s # gboolean arg_an_b) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_y: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_y: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalY" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_y ( 692s # OrgProjectSignalingIface *object, 692s # guchar arg_an_y) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_n: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_n: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalN" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_n ( 692s # OrgProjectSignalingIface *object, 692s # gint16 arg_an_n) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_q: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_q: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalQ" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_q ( 692s # OrgProjectSignalingIface *object, 692s # guint16 arg_an_q) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_i: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_i: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalI" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_i ( 692s # OrgProjectSignalingIface *object, 692s # gint arg_an_i) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_u: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_u: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalU" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_u ( 692s # OrgProjectSignalingIface *object, 692s # guint arg_an_u) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_x: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_x: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalX" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_x ( 692s # OrgProjectSignalingIface *object, 692s # gint64 arg_an_x) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_t: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_t: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalT" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_t ( 692s # OrgProjectSignalingIface *object, 692s # guint64 arg_an_t) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_d: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_d: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalD" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_d ( 692s # OrgProjectSignalingIface *object, 692s # gdouble arg_an_d) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_s: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_s: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalS" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_s ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_s) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_o: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_o: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalO" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_o ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_o) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_g: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_g: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalG" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_g ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_g) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_h: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_h: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalH" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_h ( 692s # OrgProjectSignalingIface *object, 692s # GVariant *arg_an_h) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_ay: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_ay: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalAY" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_ay ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_ay) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_as: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_as: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalAS" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_as ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_as) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_ao: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_ao: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalAO" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_ao ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_ao) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_aay: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_aay: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalAAY" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_aay ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_aay) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_single_arg_signal_asv: 692s # * @object: A #OrgProjectSignalingIface. 692s # * @arg_an_asv: Argument to pass with the signal. 692s # * 692s # * Emits the "SingleArgSignalASV" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_single_arg_signal_asv ( 692s # OrgProjectSignalingIface *object, 692s # GVariant *arg_an_asv) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxy: 692s # * 692s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeleton: 692s # * 692s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_signaling_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_signaling_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_signaling_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 692s # { 692s # _org_project_signaling_iface_skeleton_handle_method_call, 692s # _org_project_signaling_iface_skeleton_handle_get_property, 692s # _org_project_signaling_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_signaling_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_no_arg_signal ( 692s # OrgProjectSignalingIface *object) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 692s # OrgProjectSignalingIface *object, 692s # gboolean arg_an_b) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 692s # arg_an_b)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 692s # OrgProjectSignalingIface *object, 692s # guchar arg_an_y) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 692s # arg_an_y)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 692s # OrgProjectSignalingIface *object, 692s # gint16 arg_an_n) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 692s # arg_an_n)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 692s # OrgProjectSignalingIface *object, 692s # guint16 arg_an_q) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 692s # arg_an_q)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 692s # OrgProjectSignalingIface *object, 692s # gint arg_an_i) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 692s # arg_an_i)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 692s # OrgProjectSignalingIface *object, 692s # guint arg_an_u) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 692s # arg_an_u)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 692s # OrgProjectSignalingIface *object, 692s # gint64 arg_an_x) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 692s # arg_an_x)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 692s # OrgProjectSignalingIface *object, 692s # guint64 arg_an_t) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 692s # arg_an_t)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 692s # OrgProjectSignalingIface *object, 692s # gdouble arg_an_d) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 692s # arg_an_d)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_s) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 692s # arg_an_s)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_o) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 692s # arg_an_o)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_g) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 692s # arg_an_g)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 692s # OrgProjectSignalingIface *object, 692s # GVariant *arg_an_h) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 692s # arg_an_h)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *arg_an_ay) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 692s # arg_an_ay)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_as) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 692s # arg_an_as)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_ao) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 692s # arg_an_ao)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 692s # OrgProjectSignalingIface *object, 692s # const gchar *const *arg_an_aay) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 692s # arg_an_aay)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 692s # OrgProjectSignalingIface *object, 692s # GVariant *arg_an_asv) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 692s # arg_an_asv)); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 692s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 692s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 692s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 692s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 692s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 692s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 692s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 692s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 692s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 692s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 692s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 692s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 692s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 692s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 692s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 692s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 692s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 692s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmpr7qa_vtb 692s # /tmp/tmpr7qa_vtb/tmpjugk4x16.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr7qa_vtb/tmpjugk4x16.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.UsefulInterface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectUsefulInterface 692s # * @title: OrgProjectUsefulInterface 692s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SimpleSignal", 692s # NULL, 692s # NULL 692s # }, 692s # "simple-signal" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 692s # { 692s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.UsefulInterface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-useful-interface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_useful_interface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_useful_interface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_useful_interface_signal_marshal_simple_signal ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VOID (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectUsefulInterface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 692s # */ 692s # 692s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectUsefulInterface::simple-signal: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 692s # g_signal_new ("simple-signal", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 692s # NULL, 692s # NULL, 692s # org_project_useful_interface_signal_marshal_simple_signal, 692s # G_TYPE_NONE, 692s # 0); 692s # 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_emit_simple_signal: 692s # * @object: A #OrgProjectUsefulInterface. 692s # * 692s # * Emits the "SimpleSignal" D-Bus signal. 692s # */ 692s # void 692s # org_project_useful_interface_emit_simple_signal ( 692s # OrgProjectUsefulInterface *object) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxy: 692s # * 692s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 692s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 692s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_useful_interface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # g_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); 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeleton: 692s # * 692s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectUsefulInterfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_useful_interface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_useful_interface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_useful_interface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 692s # { 692s # _org_project_useful_interface_skeleton_handle_method_call, 692s # _org_project_useful_interface_skeleton_handle_get_property, 692s # _org_project_useful_interface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_useful_interface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_useful_interface_on_signal_simple_signal ( 692s # OrgProjectUsefulInterface *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_useful_interface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 692s # { 692s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 692s # } 692s # 692s # /** 692s # * org_project_useful_interface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectUsefulInterface * 692s # org_project_useful_interface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.OtherIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectOtherIface 692s # * @title: OrgProjectOtherIface 692s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.OtherIface ---- */ 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SimpleSignal", 692s # NULL, 692s # NULL 692s # }, 692s # "simple-signal" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 692s # { 692s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.OtherIface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-other-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_other_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_other_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_other_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_other_iface_signal_marshal_simple_signal ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VOID (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectOtherIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.OtherIface. 692s # */ 692s # 692s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectOtherIface::simple-signal: 692s # * @object: A #OrgProjectOtherIface. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 692s # g_signal_new ("simple-signal", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 692s # NULL, 692s # NULL, 692s # org_project_other_iface_signal_marshal_simple_signal, 692s # G_TYPE_NONE, 692s # 0); 692s # 692s # } 692s # 692s # /** 692s # * org_project_other_iface_emit_simple_signal: 692s # * @object: A #OrgProjectOtherIface. 692s # * 692s # * Emits the "SimpleSignal" D-Bus signal. 692s # */ 692s # void 692s # org_project_other_iface_emit_simple_signal ( 692s # OrgProjectOtherIface *object) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherIfaceProxy: 692s # * 692s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectOtherIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_other_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherIface * 692s # org_project_other_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherIface * 692s # org_project_other_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_other_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherIface * 692s # org_project_other_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherIface * 692s # org_project_other_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherIfaceSkeleton: 692s # * 692s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectOtherIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_other_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_other_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_other_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 692s # { 692s # _org_project_other_iface_skeleton_handle_method_call, 692s # _org_project_other_iface_skeleton_handle_get_property, 692s # _org_project_other_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_other_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_other_iface_on_signal_simple_signal ( 692s # OrgProjectOtherIface *object) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 692s # { 692s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 692s # } 692s # 692s # /** 692s # * org_project_other_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectOtherIface * 692s # org_project_other_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 692s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 692s # gdbus-codegen: /usr/bin/gdbus-codegen 692s # tmpdir: /tmp/tmp3kil0c76 692s # /tmp/tmp3kil0c76/tmpwheckh7j.xml: 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # 692s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3kil0c76/tmpwheckh7j.xml', '--output', '-', '--body'] 692s # Return code: 0 692s # Output: 692s # /* 692s # * This file is generated by gdbus-codegen, do not modify it. 692s # * 692s # * The license of this code is the same as for the D-Bus interface description 692s # * it was derived from. Note that it links to GLib, so must comply with the 692s # * LGPL linking clauses. 692s # */ 692s # 692s # #ifdef HAVE_CONFIG_H 692s # # include "config.h" 692s # #endif 692s # 692s # #include 692s # #ifdef G_OS_UNIX 692s # # include 692s # #endif 692s # 692s # #ifdef G_ENABLE_DEBUG 692s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 692s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 692s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 692s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 692s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 692s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 692s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 692s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 692s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 692s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 692s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 692s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 692s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 692s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 692s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 692s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 692s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 692s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 692s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 692s # #else /* !G_ENABLE_DEBUG */ 692s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 692s # * Do not access GValues directly in your code. Instead, use the 692s # * g_value_get_*() functions 692s # */ 692s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 692s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 692s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 692s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 692s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 692s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 692s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 692s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 692s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 692s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 692s # #endif /* !G_ENABLE_DEBUG */ 692s # 692s # typedef struct 692s # { 692s # GDBusArgInfo parent_struct; 692s # gboolean use_gvariant; 692s # } _ExtendedGDBusArgInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusMethodInfo parent_struct; 692s # const gchar *signal_name; 692s # gboolean pass_fdlist; 692s # } _ExtendedGDBusMethodInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusSignalInfo parent_struct; 692s # const gchar *signal_name; 692s # } _ExtendedGDBusSignalInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusPropertyInfo parent_struct; 692s # const gchar *hyphen_name; 692s # guint use_gvariant : 1; 692s # guint emits_changed_signal : 1; 692s # } _ExtendedGDBusPropertyInfo; 692s # 692s # typedef struct 692s # { 692s # GDBusInterfaceInfo parent_struct; 692s # const gchar *hyphen_name; 692s # } _ExtendedGDBusInterfaceInfo; 692s # 692s # typedef struct 692s # { 692s # const _ExtendedGDBusPropertyInfo *info; 692s # guint prop_id; 692s # GValue orig_value; /* the value before the change */ 692s # } ChangedProperty; 692s # 692s # static void 692s # _changed_property_free (ChangedProperty *data) 692s # { 692s # g_value_unset (&data->orig_value); 692s # g_free (data); 692s # } 692s # 692s # static gboolean 692s # _g_strv_equal0 (gchar **a, gchar **b) 692s # { 692s # gboolean ret = FALSE; 692s # guint n; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # if (g_strv_length (a) != g_strv_length (b)) 692s # goto out; 692s # for (n = 0; a[n] != NULL; n++) 692s # if (g_strcmp0 (a[n], b[n]) != 0) 692s # goto out; 692s # ret = TRUE; 692s # out: 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _g_variant_equal0 (GVariant *a, GVariant *b) 692s # { 692s # gboolean ret = FALSE; 692s # if (a == NULL && b == NULL) 692s # { 692s # ret = TRUE; 692s # goto out; 692s # } 692s # if (a == NULL || b == NULL) 692s # goto out; 692s # ret = g_variant_equal (a, b); 692s # out: 692s # return ret; 692s # } 692s # 692s # G_GNUC_UNUSED static gboolean 692s # _g_value_equal (const GValue *a, const GValue *b) 692s # { 692s # gboolean ret = FALSE; 692s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 692s # switch (G_VALUE_TYPE (a)) 692s # { 692s # case G_TYPE_BOOLEAN: 692s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 692s # break; 692s # case G_TYPE_UCHAR: 692s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 692s # break; 692s # case G_TYPE_INT: 692s # ret = (g_value_get_int (a) == g_value_get_int (b)); 692s # break; 692s # case G_TYPE_UINT: 692s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 692s # break; 692s # case G_TYPE_INT64: 692s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 692s # break; 692s # case G_TYPE_UINT64: 692s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 692s # break; 692s # case G_TYPE_DOUBLE: 692s # { 692s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 692s # gdouble da = g_value_get_double (a); 692s # gdouble db = g_value_get_double (b); 692s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 692s # } 692s # break; 692s # case G_TYPE_STRING: 692s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 692s # break; 692s # case G_TYPE_VARIANT: 692s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 692s # break; 692s # default: 692s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 692s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 692s # else 692s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 692s # break; 692s # } 692s # return ret; 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.SignalingIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectSignalingIface 692s # * @title: OrgProjectSignalingIface 692s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.SignalingIface ---- */ 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SimpleSignal", 692s # NULL, 692s # NULL 692s # }, 692s # "simple-signal" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 692s # { 692s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.SignalingIface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-signaling-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_signaling_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_signaling_iface_signal_marshal_simple_signal ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VOID (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectSignalingIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.SignalingIface. 692s # */ 692s # 692s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectSignalingIface::simple-signal: 692s # * @object: A #OrgProjectSignalingIface. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 692s # g_signal_new ("simple-signal", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 692s # NULL, 692s # NULL, 692s # org_project_signaling_iface_signal_marshal_simple_signal, 692s # G_TYPE_NONE, 692s # 0); 692s # 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_emit_simple_signal: 692s # * @object: A #OrgProjectSignalingIface. 692s # * 692s # * Emits the "SimpleSignal" D-Bus signal. 692s # */ 692s # void 692s # org_project_signaling_iface_emit_simple_signal ( 692s # OrgProjectSignalingIface *object) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxy: 692s # * 692s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_signaling_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeleton: 692s # * 692s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectSignalingIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectSignalingIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_signaling_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_signaling_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_signaling_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 692s # { 692s # _org_project_signaling_iface_skeleton_handle_method_call, 692s # _org_project_signaling_iface_skeleton_handle_get_property, 692s # _org_project_signaling_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_signaling_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_signaling_iface_on_signal_simple_signal ( 692s # OrgProjectSignalingIface *object) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_signaling_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 692s # { 692s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 692s # } 692s # 692s # /** 692s # * org_project_signaling_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectSignalingIface * 692s # org_project_signaling_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ 692s # * Code for interface org.project.OtherSignalingIface 692s # * ------------------------------------------------------------------------ 692s # */ 692s # 692s # /** 692s # * SECTION:OrgProjectOtherSignalingIface 692s # * @title: OrgProjectOtherSignalingIface 692s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 692s # * 692s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 692s # */ 692s # 692s # enum 692s # { 692s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 692s # }; 692s # 692s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 692s # 692s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 692s # 692s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 692s # { 692s # { 692s # -1, 692s # (gchar *) "SimpleSignal", 692s # NULL, 692s # NULL 692s # }, 692s # "simple-signal" 692s # }; 692s # 692s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 692s # { 692s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 692s # NULL 692s # }; 692s # 692s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 692s # { 692s # { 692s # -1, 692s # (gchar *) "org.project.OtherSignalingIface", 692s # NULL, 692s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 692s # NULL, 692s # NULL 692s # }, 692s # "org-project-other-signaling-iface", 692s # }; 692s # 692s # 692s # /** 692s # * org_project_other_signaling_iface_interface_info: 692s # * 692s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 692s # * 692s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 692s # */ 692s # GDBusInterfaceInfo * 692s # org_project_other_signaling_iface_interface_info (void) 692s # { 692s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_override_properties: 692s # * @klass: The class structure for a #GObject derived class. 692s # * @property_id_begin: The property id to assign to the first overridden property. 692s # * 692s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 692s # * The properties are overridden in the order they are defined. 692s # * 692s # * Returns: The last property id. 692s # */ 692s # guint 692s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 692s # { 692s # return property_id_begin - 1; 692s # } 692s # 692s # 692s # inline static void 692s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 692s # GClosure *closure, 692s # GValue *return_value, 692s # unsigned int n_param_values, 692s # const GValue *param_values, 692s # void *invocation_hint, 692s # void *marshal_data) 692s # { 692s # g_cclosure_marshal_VOID__VOID (closure, 692s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 692s # } 692s # 692s # 692s # /** 692s # * OrgProjectOtherSignalingIface: 692s # * 692s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherSignalingIfaceIface: 692s # * @parent_iface: The parent interface. 692s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 692s # * 692s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 692s # */ 692s # 692s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 692s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 692s # 692s # static void 692s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 692s # { 692s # /* GObject signals for received D-Bus signals: */ 692s # /** 692s # * OrgProjectOtherSignalingIface::simple-signal: 692s # * @object: A #OrgProjectOtherSignalingIface. 692s # * 692s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 692s # * 692s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 692s # */ 692s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 692s # g_signal_new ("simple-signal", 692s # G_TYPE_FROM_INTERFACE (iface), 692s # G_SIGNAL_RUN_LAST, 692s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 692s # NULL, 692s # NULL, 692s # org_project_other_signaling_iface_signal_marshal_simple_signal, 692s # G_TYPE_NONE, 692s # 0); 692s # 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_emit_simple_signal: 692s # * @object: A #OrgProjectOtherSignalingIface. 692s # * 692s # * Emits the "SimpleSignal" D-Bus signal. 692s # */ 692s # void 692s # org_project_other_signaling_iface_emit_simple_signal ( 692s # OrgProjectOtherSignalingIface *object) 692s # { 692s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 692s # } 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherSignalingIfaceProxy: 692s # * 692s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherSignalingIfaceProxyClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 692s # */ 692s # 692s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 692s # { 692s # GData *qdata; 692s # }; 692s # 692s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 692s # { 692s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 692s # g_datalist_clear (&proxy->priv->qdata); 692s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 692s # guint prop_id G_GNUC_UNUSED, 692s # const GValue *value G_GNUC_UNUSED, 692s # GParamSpec *pspec G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 692s # const gchar *sender_name G_GNUC_UNUSED, 692s # const gchar *signal_name, 692s # GVariant *parameters) 692s # { 692s # _ExtendedGDBusSignalInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # gsize n; 692s # guint signal_id; 692s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 692s # if (info == NULL) 692s # return; 692s # num_params = g_variant_n_children (parameters); 692s # paramv = g_new0 (GValue, num_params + 1); 692s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[0], proxy); 692s # g_variant_iter_init (&iter, parameters); 692s # n = 1; 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 692s # g_signal_emitv (paramv, signal_id, 0, NULL); 692s # for (n = 0; n < num_params + 1; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 692s # GVariant *changed_properties, 692s # const gchar *const *invalidated_properties) 692s # { 692s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 692s # guint n; 692s # const gchar *key; 692s # GVariantIter *iter; 692s # _ExtendedGDBusPropertyInfo *info; 692s # g_variant_get (changed_properties, "a{sv}", &iter); 692s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 692s # g_datalist_remove_data (&proxy->priv->qdata, key); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # g_variant_iter_free (iter); 692s # for (n = 0; invalidated_properties[n] != NULL; n++) 692s # { 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 692s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 692s # if (info != NULL) 692s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 692s # } 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 692s # #else 692s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 692s # #endif 692s # 692s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusProxyClass *proxy_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 692s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 692s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 692s # 692s # proxy_class = G_DBUS_PROXY_CLASS (klass); 692s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 692s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_signaling_iface_proxy_new ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherSignalingIface * 692s # org_project_other_signaling_iface_proxy_new_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new_sync: 692s # * @connection: A #GDBusConnection. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherSignalingIface * 692s # org_project_other_signaling_iface_proxy_new_sync ( 692s # GDBusConnection *connection, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new_for_bus: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 692s # * @user_data: User data to pass to @callback. 692s # * 692s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 692s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 692s # * 692s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 692s # */ 692s # void 692s # org_project_other_signaling_iface_proxy_new_for_bus ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GAsyncReadyCallback callback, 692s # gpointer user_data) 692s # { 692s # 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); 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 692s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 692s # * @error: Return location for error or %NULL 692s # * 692s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherSignalingIface * 692s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 692s # GAsyncResult *res, 692s # GError **error) 692s # { 692s # GObject *ret; 692s # GObject *source_object; 692s # source_object = g_async_result_get_source_object (res); 692s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 692s # g_object_unref (source_object); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 692s # * @bus_type: A #GBusType. 692s # * @flags: Flags from the #GDBusProxyFlags enumeration. 692s # * @name: A bus name (well-known or unique). 692s # * @object_path: An object path. 692s # * @cancellable: (nullable): A #GCancellable or %NULL. 692s # * @error: Return location for error or %NULL 692s # * 692s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 692s # * 692s # * The calling thread is blocked until a reply is received. 692s # * 692s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 692s # */ 692s # OrgProjectOtherSignalingIface * 692s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 692s # GBusType bus_type, 692s # GDBusProxyFlags flags, 692s # const gchar *name, 692s # const gchar *object_path, 692s # GCancellable *cancellable, 692s # GError **error) 692s # { 692s # GInitable *ret; 692s # 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); 692s # if (ret != NULL) 692s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 692s # else 692s # return NULL; 692s # } 692s # 692s # 692s # /* ------------------------------------------------------------------------ */ 692s # 692s # /** 692s # * OrgProjectOtherSignalingIfaceSkeleton: 692s # * 692s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 692s # */ 692s # 692s # /** 692s # * OrgProjectOtherSignalingIfaceSkeletonClass: 692s # * @parent_class: The parent class. 692s # * 692s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 692s # */ 692s # 692s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 692s # { 692s # GValue *properties; 692s # GList *changed_properties; 692s # GSource *changed_properties_idle_source; 692s # GMainContext *context; 692s # GMutex lock; 692s # }; 692s # 692s # static void 692s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name, 692s # const gchar *method_name, 692s # GVariant *parameters, 692s # GDBusMethodInvocation *invocation, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 692s # _ExtendedGDBusMethodInfo *info; 692s # GVariantIter iter; 692s # GVariant *child; 692s # GValue *paramv; 692s # gsize num_params; 692s # guint num_extra; 692s # gsize n; 692s # guint signal_id; 692s # GValue return_value = G_VALUE_INIT; 692s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 692s # g_assert (info != NULL); 692s # num_params = g_variant_n_children (parameters); 692s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 692s # n = 0; 692s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 692s # g_value_set_object (¶mv[n++], skeleton); 692s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 692s # g_value_set_object (¶mv[n++], invocation); 692s # if (info->pass_fdlist) 692s # { 692s # #ifdef G_OS_UNIX 692s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 692s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 692s # #else 692s # g_assert_not_reached (); 692s # #endif 692s # } 692s # g_variant_iter_init (&iter, parameters); 692s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 692s # { 692s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 692s # if (arg_info->use_gvariant) 692s # { 692s # g_value_init (¶mv[n], G_TYPE_VARIANT); 692s # g_value_set_variant (¶mv[n], child); 692s # n++; 692s # } 692s # else 692s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 692s # g_variant_unref (child); 692s # } 692s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 692s # g_value_init (&return_value, G_TYPE_BOOLEAN); 692s # g_signal_emitv (paramv, signal_id, 0, &return_value); 692s # if (!g_value_get_boolean (&return_value)) 692s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 692s # g_value_unset (&return_value); 692s # for (n = 0; n < num_params + num_extra; n++) 692s # g_value_unset (¶mv[n]); 692s # g_free (paramv); 692s # } 692s # 692s # static GVariant * 692s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # GVariant *ret; 692s # ret = NULL; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # g_value_init (&value, pspec->value_type); 692s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 692s # g_value_unset (&value); 692s # } 692s # return ret; 692s # } 692s # 692s # static gboolean 692s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 692s # GDBusConnection *connection G_GNUC_UNUSED, 692s # const gchar *sender G_GNUC_UNUSED, 692s # const gchar *object_path G_GNUC_UNUSED, 692s # const gchar *interface_name G_GNUC_UNUSED, 692s # const gchar *property_name, 692s # GVariant *variant, 692s # GError **error, 692s # gpointer user_data) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 692s # GValue value = G_VALUE_INIT; 692s # GParamSpec *pspec; 692s # _ExtendedGDBusPropertyInfo *info; 692s # gboolean ret; 692s # ret = FALSE; 692s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 692s # g_assert (info != NULL); 692s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 692s # if (pspec == NULL) 692s # { 692s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 692s # } 692s # else 692s # { 692s # if (info->use_gvariant) 692s # g_value_set_variant (&value, variant); 692s # else 692s # g_dbus_gvariant_to_gvalue (variant, &value); 692s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 692s # g_value_unset (&value); 692s # ret = TRUE; 692s # } 692s # return ret; 692s # } 692s # 692s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 692s # { 692s # _org_project_other_signaling_iface_skeleton_handle_method_call, 692s # _org_project_other_signaling_iface_skeleton_handle_get_property, 692s # _org_project_other_signaling_iface_skeleton_handle_set_property, 692s # {NULL} 692s # }; 692s # 692s # static GDBusInterfaceInfo * 692s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return org_project_other_signaling_iface_interface_info (); 692s # } 692s # 692s # static GDBusInterfaceVTable * 692s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 692s # { 692s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 692s # } 692s # 692s # static GVariant * 692s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 692s # 692s # GVariantBuilder builder; 692s # guint n; 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 692s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #else 692s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 692s # #endif 692s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 692s # goto out; 692s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 692s # { 692s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 692s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 692s # { 692s # GVariant *value; 692s # 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); 692s # if (value != NULL) 692s # { 692s # g_variant_take_ref (value); 692s # g_variant_builder_add (&builder, "{sv}", info->name, value); 692s # g_variant_unref (value); 692s # } 692s # } 692s # } 692s # out: 692s # return g_variant_builder_end (&builder); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 692s # { 692s # } 692s # 692s # static void 692s # _org_project_other_signaling_iface_on_signal_simple_signal ( 692s # OrgProjectOtherSignalingIface *object) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 692s # 692s # GList *connections, *l; 692s # GVariant *signal_variant; 692s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 692s # 692s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 692s # for (l = connections; l != NULL; l = l->next) 692s # { 692s # GDBusConnection *connection = l->data; 692s # g_dbus_connection_emit_signal (connection, 692s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 692s # signal_variant, NULL); 692s # } 692s # g_variant_unref (signal_variant); 692s # g_list_free_full (connections, g_object_unref); 692s # } 692s # 692s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 692s # 692s # #else 692s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 692s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 692s # 692s # #endif 692s # static void 692s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 692s # { 692s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 692s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 692s # if (skeleton->priv->changed_properties_idle_source != NULL) 692s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 692s # g_main_context_unref (skeleton->priv->context); 692s # g_mutex_clear (&skeleton->priv->lock); 692s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 692s # { 692s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 692s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 692s # #else 692s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 692s # #endif 692s # 692s # g_mutex_init (&skeleton->priv->lock); 692s # skeleton->priv->context = g_main_context_ref_thread_default (); 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 692s # { 692s # GObjectClass *gobject_class; 692s # GDBusInterfaceSkeletonClass *skeleton_class; 692s # 692s # gobject_class = G_OBJECT_CLASS (klass); 692s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 692s # 692s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 692s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 692s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 692s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 692s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 692s # 692s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 692s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 692s # #endif 692s # } 692s # 692s # static void 692s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 692s # { 692s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 692s # } 692s # 692s # /** 692s # * org_project_other_signaling_iface_skeleton_new: 692s # * 692s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 692s # * 692s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 692s # */ 692s # OrgProjectOtherSignalingIface * 692s # org_project_other_signaling_iface_skeleton_new (void) 692s # { 692s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 692s # } 692s # Error: 693s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpq_xti6l2 693s # /tmp/tmpq_xti6l2/tmpr8wwantt.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpr8wwantt.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_b", 693s # (gchar *) "b", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalB", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-b" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__BOOLEAN (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-b: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_b: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 693s # g_signal_new ("single-arg-signal-b", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_BOOLEAN); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_b: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_b: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalB" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_b ( 693s # OrgProjectSignalingIface *object, 693s # gboolean arg_arg_b) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 693s # OrgProjectSignalingIface *object, 693s # gboolean arg_arg_b) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 693s # arg_arg_b)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmp0m1pdxj4.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmp0m1pdxj4.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_y", 693s # (gchar *) "y", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalY", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-y" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__UCHAR (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-y: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_y: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 693s # g_signal_new ("single-arg-signal-y", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_UCHAR); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_y: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_y: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalY" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_y ( 693s # OrgProjectSignalingIface *object, 693s # guchar arg_arg_y) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 693s # OrgProjectSignalingIface *object, 693s # guchar arg_arg_y) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 693s # arg_arg_y)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpcyizf74i.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpcyizf74i.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_n", 693s # (gchar *) "n", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalN", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-n" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__INT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-n: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_n: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 693s # g_signal_new ("single-arg-signal-n", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_INT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_n: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_n: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalN" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_n ( 693s # OrgProjectSignalingIface *object, 693s # gint16 arg_arg_n) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 693s # OrgProjectSignalingIface *object, 693s # gint16 arg_arg_n) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 693s # arg_arg_n)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpyuj__a8g.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpyuj__a8g.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_q", 693s # (gchar *) "q", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalQ", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-q" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__UINT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-q: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_q: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 693s # g_signal_new ("single-arg-signal-q", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_UINT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_q: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_q: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalQ" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_q ( 693s # OrgProjectSignalingIface *object, 693s # guint16 arg_arg_q) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 693s # OrgProjectSignalingIface *object, 693s # guint16 arg_arg_q) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 693s # arg_arg_q)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmphsr5e1ol.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmphsr5e1ol.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_i", 693s # (gchar *) "i", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalI", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-i" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__INT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-i: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_i: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 693s # g_signal_new ("single-arg-signal-i", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_INT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_i: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_i: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalI" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_i ( 693s # OrgProjectSignalingIface *object, 693s # gint arg_arg_i) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 693s # OrgProjectSignalingIface *object, 693s # gint arg_arg_i) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 693s # arg_arg_i)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmp48cjj3a7.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmp48cjj3a7.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_u", 693s # (gchar *) "u", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalU", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-u" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__UINT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-u: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_u: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 693s # g_signal_new ("single-arg-signal-u", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_UINT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_u: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_u: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalU" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_u ( 693s # OrgProjectSignalingIface *object, 693s # guint arg_arg_u) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 693s # OrgProjectSignalingIface *object, 693s # guint arg_arg_u) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 693s # arg_arg_u)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmprfaagp9m.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmprfaagp9m.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # static void 693s # _g_dbus_codegen_marshal_VOID__INT64 ( 693s # GClosure *closure, 693s # GValue *return_value G_GNUC_UNUSED, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint G_GNUC_UNUSED, 693s # void *marshal_data) 693s # { 693s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 693s # (void *data1, 693s # gint64 arg_arg_x, 693s # void *data2); 693s # _GDbusCodegenMarshalVoid_Int64Func callback; 693s # GCClosure *cc = (GCClosure*) closure; 693s # void *data1, *data2; 693s # 693s # g_return_if_fail (n_param_values == 2); 693s # 693s # if (G_CCLOSURE_SWAP_DATA (closure)) 693s # { 693s # data1 = closure->data; 693s # data2 = g_value_peek_pointer (param_values + 0); 693s # } 693s # else 693s # { 693s # data1 = g_value_peek_pointer (param_values + 0); 693s # data2 = closure->data; 693s # } 693s # 693s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 693s # (marshal_data ? marshal_data : cc->callback); 693s # 693s # callback (data1, 693s # g_marshal_value_peek_int64 (param_values + 1), 693s # data2); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_x", 693s # (gchar *) "x", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalX", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-x" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-x: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_x: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 693s # g_signal_new ("single-arg-signal-x", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_INT64); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_x: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_x: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalX" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_x ( 693s # OrgProjectSignalingIface *object, 693s # gint64 arg_arg_x) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 693s # OrgProjectSignalingIface *object, 693s # gint64 arg_arg_x) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 693s # arg_arg_x)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpcum32348.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpcum32348.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # static void 693s # _g_dbus_codegen_marshal_VOID__UINT64 ( 693s # GClosure *closure, 693s # GValue *return_value G_GNUC_UNUSED, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint G_GNUC_UNUSED, 693s # void *marshal_data) 693s # { 693s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 693s # (void *data1, 693s # guint64 arg_arg_t, 693s # void *data2); 693s # _GDbusCodegenMarshalVoid_Uint64Func callback; 693s # GCClosure *cc = (GCClosure*) closure; 693s # void *data1, *data2; 693s # 693s # g_return_if_fail (n_param_values == 2); 693s # 693s # if (G_CCLOSURE_SWAP_DATA (closure)) 693s # { 693s # data1 = closure->data; 693s # data2 = g_value_peek_pointer (param_values + 0); 693s # } 693s # else 693s # { 693s # data1 = g_value_peek_pointer (param_values + 0); 693s # data2 = closure->data; 693s # } 693s # 693s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 693s # (marshal_data ? marshal_data : cc->callback); 693s # 693s # callback (data1, 693s # g_marshal_value_peek_uint64 (param_values + 1), 693s # data2); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_t", 693s # (gchar *) "t", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalT", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-t" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-t: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_t: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 693s # g_signal_new ("single-arg-signal-t", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_UINT64); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_t: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_t: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalT" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_t ( 693s # OrgProjectSignalingIface *object, 693s # guint64 arg_arg_t) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 693s # OrgProjectSignalingIface *object, 693s # guint64 arg_arg_t) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 693s # arg_arg_t)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmp2lpouuxn.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmp2lpouuxn.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_d", 693s # (gchar *) "d", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalD", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-d" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__DOUBLE (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-d: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_d: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 693s # g_signal_new ("single-arg-signal-d", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_DOUBLE); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_d: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_d: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalD" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_d ( 693s # OrgProjectSignalingIface *object, 693s # gdouble arg_arg_d) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 693s # OrgProjectSignalingIface *object, 693s # gdouble arg_arg_d) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 693s # arg_arg_d)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmprt3nn7a1.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmprt3nn7a1.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_s", 693s # (gchar *) "s", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalS", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-s" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__STRING (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-s: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_s: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 693s # g_signal_new ("single-arg-signal-s", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRING); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_s: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_s: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalS" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_s ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_s) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_s) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 693s # arg_arg_s)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpjeofcbfd.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpjeofcbfd.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_o", 693s # (gchar *) "o", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalO", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-o" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__STRING (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-o: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_o: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 693s # g_signal_new ("single-arg-signal-o", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRING); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_o: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_o: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalO" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_o ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_o) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_o) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 693s # arg_arg_o)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpcsmojj85.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpcsmojj85.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_g", 693s # (gchar *) "g", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalG", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-g" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__STRING (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-g: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_g: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 693s # g_signal_new ("single-arg-signal-g", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRING); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_g: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_g: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalG" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_g ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_g) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_g) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 693s # arg_arg_g)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpihrqk00s.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpihrqk00s.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_h", 693s # (gchar *) "h", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalH", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-h" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VARIANT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-h: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_h: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 693s # g_signal_new ("single-arg-signal-h", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_VARIANT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_h: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_h: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalH" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_h ( 693s # OrgProjectSignalingIface *object, 693s # GVariant *arg_arg_h) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 693s # OrgProjectSignalingIface *object, 693s # GVariant *arg_arg_h) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 693s # arg_arg_h)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpodbin3sp.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpodbin3sp.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_ay", 693s # (gchar *) "ay", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalAy", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-ay" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__STRING (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-ay: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_ay: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 693s # g_signal_new ("single-arg-signal-ay", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRING); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_ay: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_ay: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalAy" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_ay ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_ay) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *arg_arg_ay) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 693s # arg_arg_ay)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpf03tar5p.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpf03tar5p.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_as", 693s # (gchar *) "as", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalAs", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-as" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__BOXED (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-as: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_as: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 693s # g_signal_new ("single-arg-signal-as", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRV); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_as: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_as: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalAs" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_as ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_as) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_as) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 693s # arg_arg_as)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmpu91xqfg6.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmpu91xqfg6.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_ao", 693s # (gchar *) "ao", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalAo", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-ao" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__BOXED (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-ao: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_ao: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 693s # g_signal_new ("single-arg-signal-ao", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRV); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_ao: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_ao: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalAo" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_ao ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_ao) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_ao) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 693s # arg_arg_ao)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmp6ren54t3.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmp6ren54t3.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_aay", 693s # (gchar *) "aay", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalAay", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-aay" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__BOXED (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-aay: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_aay: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 693s # g_signal_new ("single-arg-signal-aay", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_STRV); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_aay: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_aay: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalAay" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_aay ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_aay) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 693s # OrgProjectSignalingIface *object, 693s # const gchar *const *arg_arg_aay) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 693s # arg_arg_aay)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # /tmp/tmpq_xti6l2/tmp4z2zo0hd.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq_xti6l2/tmp4z2zo0hd.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 693s # { 693s # { 693s # -1, 693s # (gchar *) "arg_asv", 693s # (gchar *) "a{sv}", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SingleArgSignalAsv", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 693s # NULL 693s # }, 693s # "single-arg-signal-asv" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VARIANT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::single-arg-signal-asv: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_asv: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 693s # g_signal_new ("single-arg-signal-asv", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 693s # G_TYPE_NONE, 693s # 1, G_TYPE_VARIANT); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_single_arg_signal_asv: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_arg_asv: Argument to pass with the signal. 693s # * 693s # * Emits the "SingleArgSignalAsv" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_single_arg_signal_asv ( 693s # OrgProjectSignalingIface *object, 693s # GVariant *arg_arg_asv) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 693s # OrgProjectSignalingIface *object, 693s # GVariant *arg_arg_asv) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 693s # arg_arg_asv)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmp5r8v4mur 693s # /tmp/tmp5r8v4mur/tmpi4dwta2v.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5r8v4mur/tmpi4dwta2v.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # static void 693s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 693s # GClosure *closure, 693s # GValue *return_value G_GNUC_UNUSED, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint G_GNUC_UNUSED, 693s # void *marshal_data) 693s # { 693s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 693s # (void *data1, 693s # gboolean arg_an_b, 693s # guchar arg_an_y, 693s # gint16 arg_an_n, 693s # guint16 arg_an_q, 693s # gint arg_an_i, 693s # guint arg_an_u, 693s # gint64 arg_an_x, 693s # guint64 arg_an_t, 693s # gdouble arg_an_d, 693s # const gchar *arg_an_s, 693s # const gchar *arg_an_o, 693s # const gchar *arg_an_g, 693s # GVariant *arg_an_h, 693s # const gchar *arg_an_ay, 693s # const gchar *const *arg_an_as, 693s # const gchar *const *arg_an_ao, 693s # const gchar *const *arg_an_aay, 693s # GVariant *arg_an_asv, 693s # void *data2); 693s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 693s # GCClosure *cc = (GCClosure*) closure; 693s # void *data1, *data2; 693s # 693s # g_return_if_fail (n_param_values == 19); 693s # 693s # if (G_CCLOSURE_SWAP_DATA (closure)) 693s # { 693s # data1 = closure->data; 693s # data2 = g_value_peek_pointer (param_values + 0); 693s # } 693s # else 693s # { 693s # data1 = g_value_peek_pointer (param_values + 0); 693s # data2 = closure->data; 693s # } 693s # 693s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 693s # (marshal_data ? marshal_data : cc->callback); 693s # 693s # callback (data1, 693s # g_marshal_value_peek_boolean (param_values + 1), 693s # g_marshal_value_peek_uchar (param_values + 2), 693s # g_marshal_value_peek_int (param_values + 3), 693s # g_marshal_value_peek_uint (param_values + 4), 693s # g_marshal_value_peek_int (param_values + 5), 693s # g_marshal_value_peek_uint (param_values + 6), 693s # g_marshal_value_peek_int64 (param_values + 7), 693s # g_marshal_value_peek_uint64 (param_values + 8), 693s # g_marshal_value_peek_double (param_values + 9), 693s # g_marshal_value_peek_string (param_values + 10), 693s # g_marshal_value_peek_string (param_values + 11), 693s # g_marshal_value_peek_string (param_values + 12), 693s # g_marshal_value_peek_variant (param_values + 13), 693s # g_marshal_value_peek_string (param_values + 14), 693s # g_marshal_value_peek_boxed (param_values + 15), 693s # g_marshal_value_peek_boxed (param_values + 16), 693s # g_marshal_value_peek_boxed (param_values + 17), 693s # g_marshal_value_peek_variant (param_values + 18), 693s # data2); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.SignalingIface 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectSignalingIface 693s # * @title: OrgProjectSignalingIface 693s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 693s # }; 693s # 693s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 693s # 693s # /* ---- Introspection data for org.project.SignalingIface ---- */ 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SimpleSignal", 693s # NULL, 693s # NULL 693s # }, 693s # "simple-signal" 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_b", 693s # (gchar *) "b", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_y", 693s # (gchar *) "y", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_n", 693s # (gchar *) "n", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_q", 693s # (gchar *) "q", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_i", 693s # (gchar *) "i", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_u", 693s # (gchar *) "u", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_x", 693s # (gchar *) "x", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_t", 693s # (gchar *) "t", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_d", 693s # (gchar *) "d", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_s", 693s # (gchar *) "s", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_o", 693s # (gchar *) "o", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_g", 693s # (gchar *) "g", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_h", 693s # (gchar *) "h", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_ay", 693s # (gchar *) "ay", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_as", 693s # (gchar *) "as", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_ao", 693s # (gchar *) "ao", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_aay", 693s # (gchar *) "aay", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 693s # { 693s # { 693s # -1, 693s # (gchar *) "an_asv", 693s # (gchar *) "a{sv}", 693s # NULL 693s # }, 693s # FALSE 693s # }; 693s # 693s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 693s # { 693s # { 693s # -1, 693s # (gchar *) "SignalWithManyArgs", 693s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 693s # NULL 693s # }, 693s # "signal-with-many-args" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 693s # { 693s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 693s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.SignalingIface", 693s # NULL, 693s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-signaling-iface", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_signaling_iface_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_simple_signal ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectSignalingIface: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceIface: 693s # * @parent_iface: The parent interface. 693s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 693s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.SignalingIface. 693s # */ 693s # 693s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 693s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * OrgProjectSignalingIface::simple-signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 693s # g_signal_new ("simple-signal", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_simple_signal, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /** 693s # * OrgProjectSignalingIface::signal-with-many-args: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_an_b: Argument. 693s # * @arg_an_y: Argument. 693s # * @arg_an_n: Argument. 693s # * @arg_an_q: Argument. 693s # * @arg_an_i: Argument. 693s # * @arg_an_u: Argument. 693s # * @arg_an_x: Argument. 693s # * @arg_an_t: Argument. 693s # * @arg_an_d: Argument. 693s # * @arg_an_s: Argument. 693s # * @arg_an_o: Argument. 693s # * @arg_an_g: Argument. 693s # * @arg_an_h: Argument. 693s # * @arg_an_ay: Argument. 693s # * @arg_an_as: Argument. 693s # * @arg_an_ao: Argument. 693s # * @arg_an_aay: Argument. 693s # * @arg_an_asv: Argument. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 693s # g_signal_new ("signal-with-many-args", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 693s # NULL, 693s # NULL, 693s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 693s # G_TYPE_NONE, 693s # 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); 693s # 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_simple_signal: 693s # * @object: A #OrgProjectSignalingIface. 693s # * 693s # * Emits the "SimpleSignal" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_emit_signal_with_many_args: 693s # * @object: A #OrgProjectSignalingIface. 693s # * @arg_an_b: Argument to pass with the signal. 693s # * @arg_an_y: Argument to pass with the signal. 693s # * @arg_an_n: Argument to pass with the signal. 693s # * @arg_an_q: Argument to pass with the signal. 693s # * @arg_an_i: Argument to pass with the signal. 693s # * @arg_an_u: Argument to pass with the signal. 693s # * @arg_an_x: Argument to pass with the signal. 693s # * @arg_an_t: Argument to pass with the signal. 693s # * @arg_an_d: Argument to pass with the signal. 693s # * @arg_an_s: Argument to pass with the signal. 693s # * @arg_an_o: Argument to pass with the signal. 693s # * @arg_an_g: Argument to pass with the signal. 693s # * @arg_an_h: Argument to pass with the signal. 693s # * @arg_an_ay: Argument to pass with the signal. 693s # * @arg_an_as: Argument to pass with the signal. 693s # * @arg_an_ao: Argument to pass with the signal. 693s # * @arg_an_aay: Argument to pass with the signal. 693s # * @arg_an_asv: Argument to pass with the signal. 693s # * 693s # * Emits the "SignalWithManyArgs" D-Bus signal. 693s # */ 693s # void 693s # org_project_signaling_iface_emit_signal_with_many_args ( 693s # OrgProjectSignalingIface *object, 693s # gboolean arg_an_b, 693s # guchar arg_an_y, 693s # gint16 arg_an_n, 693s # guint16 arg_an_q, 693s # gint arg_an_i, 693s # guint arg_an_u, 693s # gint64 arg_an_x, 693s # guint64 arg_an_t, 693s # gdouble arg_an_d, 693s # const gchar *arg_an_s, 693s # const gchar *arg_an_o, 693s # const gchar *arg_an_g, 693s # GVariant *arg_an_h, 693s # const gchar *arg_an_ay, 693s # const gchar *const *arg_an_as, 693s # const gchar *const *arg_an_ao, 693s # const gchar *const *arg_an_aay, 693s # GVariant *arg_an_asv) 693s # { 693s # 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); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxy: 693s # * 693s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceProxy. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 693s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 693s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_signaling_iface_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_SIGNALING_IFACE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeleton: 693s # * 693s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectSignalingIfaceSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 693s # */ 693s # 693s # struct _OrgProjectSignalingIfaceSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_signaling_iface_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_signaling_iface_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_signaling_iface_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 693s # { 693s # _org_project_signaling_iface_skeleton_handle_method_call, 693s # _org_project_signaling_iface_skeleton_handle_get_property, 693s # _org_project_signaling_iface_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_signaling_iface_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_simple_signal ( 693s # OrgProjectSignalingIface *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void 693s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 693s # OrgProjectSignalingIface *object, 693s # gboolean arg_an_b, 693s # guchar arg_an_y, 693s # gint16 arg_an_n, 693s # guint16 arg_an_q, 693s # gint arg_an_i, 693s # guint arg_an_u, 693s # gint64 arg_an_x, 693s # guint64 arg_an_t, 693s # gdouble arg_an_d, 693s # const gchar *arg_an_s, 693s # const gchar *arg_an_o, 693s # const gchar *arg_an_g, 693s # GVariant *arg_an_h, 693s # const gchar *arg_an_ay, 693s # const gchar *const *arg_an_as, 693s # const gchar *const *arg_an_ao, 693s # const gchar *const *arg_an_aay, 693s # GVariant *arg_an_asv) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 693s # arg_an_b, 693s # arg_an_y, 693s # arg_an_n, 693s # arg_an_q, 693s # arg_an_i, 693s # arg_an_u, 693s # arg_an_x, 693s # arg_an_t, 693s # arg_an_d, 693s # arg_an_s, 693s # arg_an_o, 693s # arg_an_g, 693s # arg_an_h, 693s # arg_an_ay, 693s # arg_an_as, 693s # arg_an_ao, 693s # arg_an_aay, 693s # arg_an_asv)); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_signaling_iface_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 693s # { 693s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 693s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 693s # } 693s # 693s # /** 693s # * org_project_signaling_iface_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 693s # * 693s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 693s # */ 693s # OrgProjectSignalingIface * 693s # org_project_signaling_iface_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 693s # } 693s # Error: 693s ok 25 __main__.TestCodegen.test_generate_valid_docbook 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpx3hymxfd 693s # /tmp/tmpx3hymxfd/tmprw0l9w5q.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx3hymxfd/tmprw0l9w5q.xml', '--generate-docbook', 'test'] 693s # Return code: 0 693s # Output: 693s # 693s # Error: 693s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpkshxdepv 693s # /tmp/tmpkshxdepv/tmpbbz3p4ii.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkshxdepv/tmpbbz3p4ii.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 693s # Return code: 1 693s # Output: 693s # 693s # Error: 693s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 693s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpu6o0sos7 693s # /tmp/tmpu6o0sos7/tmp29ehjtsw.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu6o0sos7/tmp29ehjtsw.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmp9yfncrl3 693s # /tmp/tmp9yfncrl3/tmpulcwhxfh.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9yfncrl3/tmpulcwhxfh.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 693s # Return code: 1 693s # Output: 693s # 693s # Error: 693s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 693s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpe5u5o4h4 693s # /tmp/tmpe5u5o4h4/tmpqb_xvlvl.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe5u5o4h4/tmpqb_xvlvl.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmph4z7nmel 693s # /tmp/tmph4z7nmel/tmp8kutwhav.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph4z7nmel/tmp8kutwhav.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmp0u9bc84n 693s # /tmp/tmp0u9bc84n/tmpb0xmeof8.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0u9bc84n/tmpb0xmeof8.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 693s # Return code: 1 693s # Output: 693s # 693s # Error: 693s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 693s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpqu81fji0 693s # /tmp/tmpqu81fji0/tmp9_cacmee.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqu81fji0/tmp9_cacmee.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmp5ubfrp9y 693s # /tmp/tmp5ubfrp9y/tmpnc65u1ti.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5ubfrp9y/tmpnc65u1ti.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 693s # Return code: 1 693s # Output: 693s # 693s # Error: 693s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 693s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpzw9e0oxv 693s # /tmp/tmpzw9e0oxv/tmp12aeu5a9.xml: 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzw9e0oxv/tmp12aeu5a9.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s ok 35 __main__.TestCodegen.test_help 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpx5upcw9o 693s # Running: ['/usr/bin/gdbus-codegen', '--help'] 693s # Return code: 0 693s # Output: 693s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 693s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 693s # [--c-generate-autocleanup {none,objects,all}] 693s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 693s # [--generate-rst OUTFILES] [--pragma-once] 693s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 693s # [--glib-min-required VERSION] 693s # [--glib-max-allowed VERSION] 693s # [--symbol-decorator SYMBOL_DECORATOR] 693s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 693s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 693s # [--generate-c-code OUTFILES | --header | --body | 693s # --interface-info-header | --interface-info-body] 693s # [--output FILE | --output-directory OUTDIR] 693s # FILE [FILE ...] 693s # 693s # D-Bus code and documentation generator 693s # 693s # positional arguments: 693s # FILE D-Bus introspection XML file 693s # 693s # options: 693s # -h, --help show this help message and exit 693s # --interface-prefix PREFIX 693s # String to strip from D-Bus interface names for code 693s # and docs 693s # --c-namespace NAMESPACE 693s # The namespace to use for generated C code 693s # --c-generate-object-manager 693s # Generate a GDBusObjectManagerClient subclass when 693s # generating C code 693s # --c-generate-autocleanup {none,objects,all} 693s # Generate autocleanup support 693s # --generate-docbook OUTFILES 693s # Generate Docbook in OUTFILES-org.Project.IFace.xml 693s # --generate-md OUTFILES 693s # Generate Markdown in OUTFILES-org.Project.IFace.md 693s # --generate-rst OUTFILES 693s # Generate reStructuredText in OUTFILES- 693s # org.Project.IFace.rst 693s # --pragma-once Use "pragma once" as the inclusion guard 693s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 693s # Add annotation (may be used several times) 693s # --glib-min-required VERSION 693s # Minimum version of GLib to be supported by the 693s # outputted code (default: 2.30) 693s # --glib-max-allowed VERSION 693s # Maximum version of GLib to be used by the outputted 693s # code (default: current GLib version) 693s # --symbol-decorator SYMBOL_DECORATOR 693s # Macro used to decorate a symbol in the outputted 693s # header, possibly to export symbols 693s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 693s # Additional header required for decorator specified by 693s # --symbol-decorator 693s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 693s # Additional define required for decorator specified by 693s # --symbol-decorator 693s # --generate-c-code OUTFILES 693s # Generate C code in OUTFILES.[ch] 693s # --header Generate C headers 693s # --body Generate C code 693s # --interface-info-header 693s # Generate GDBusInterfaceInfo C header 693s # --interface-info-body 693s # Generate GDBusInterfaceInfo C code 693s # --output FILE Write output into the specified file 693s # --output-directory OUTDIR 693s # Location to output generated files 693s # Error: 693s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmp0oilbghd 693s # /tmp/tmp0oilbghd/tmp00qhmgsx.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0oilbghd/tmp00qhmgsx.xml', '--generate-rst', 'test'] 693s # Return code: 0 693s # Output: 693s # 693s # Error: 693s # 693s # /tmp/tmp0oilbghd/tmp_5jijyv_.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0oilbghd/tmp_5jijyv_.xml', '--generate-md', 'test'] 693s # Return code: 0 693s # Output: 693s # 693s # Error: 693s # 693s # /tmp/tmp0oilbghd/tmpfckn3wuu.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0oilbghd/tmpfckn3wuu.xml', '--generate-docbook', 'test'] 693s # Return code: 0 693s # Output: 693s # 693s # Error: 693s ok 37 __main__.TestCodegen.test_no_args 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpfyco3rsy 693s # Running: ['/usr/bin/gdbus-codegen'] 693s # Return code: 2 693s # Output: 693s # 693s # Error: 693s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 693s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 693s # [--c-generate-autocleanup {none,objects,all}] 693s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 693s # [--generate-rst OUTFILES] [--pragma-once] 693s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 693s # [--glib-min-required VERSION] 693s # [--glib-max-allowed VERSION] 693s # [--symbol-decorator SYMBOL_DECORATOR] 693s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 693s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 693s # [--generate-c-code OUTFILES | --header | --body | 693s # --interface-info-header | --interface-info-body] 693s # [--output FILE | --output-directory OUTDIR] 693s # FILE [FILE ...] 693s # gdbus-codegen: error: the following arguments are required: FILE 693s ok 38 __main__.TestCodegen.test_reproducible 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpie5zav3u 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie5zav3u/tmpsno674791.xml', '/tmp/tmpie5zav3u/tmpslnh2eps2.xml', '--output', '-', '--header'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for org.project.Bar.Frobnicator */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 693s # 693s # struct _OrgProjectBarFrobnicator; 693s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 693s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 693s # 693s # struct _OrgProjectBarFrobnicatorIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # gboolean (*handle_random_method) ( 693s # OrgProjectBarFrobnicator *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # }; 693s # 693s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 693s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void org_project_bar_frobnicator_complete_random_method ( 693s # OrgProjectBarFrobnicator *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void org_project_bar_frobnicator_call_random_method ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 693s # 693s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 693s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 693s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 693s # 693s # struct _OrgProjectBarFrobnicatorProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # OrgProjectBarFrobnicatorProxyPrivate *priv; 693s # }; 693s # 693s # struct _OrgProjectBarFrobnicatorProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 693s # #endif 693s # 693s # void org_project_bar_frobnicator_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void org_project_bar_frobnicator_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 693s # 693s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 693s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 693s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 693s # 693s # struct _OrgProjectBarFrobnicatorSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _OrgProjectBarFrobnicatorSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 693s # #endif 693s # 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for com.acme.Coyote */ 693s # 693s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 693s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 693s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 693s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 693s # 693s # struct _ComAcmeCoyote; 693s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 693s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 693s # 693s # struct _ComAcmeCoyoteIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # 693s # 693s # gboolean (*handle_attack) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # gboolean (*handle_run) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # gboolean (*handle_sleep) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # const gchar * (*get_mood) (ComAcmeCoyote *object); 693s # 693s # void (*surprised) ( 693s # ComAcmeCoyote *object); 693s # 693s # }; 693s # 693s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 693s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void com_acme_coyote_complete_run ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # void com_acme_coyote_complete_sleep ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # void com_acme_coyote_complete_attack ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus signal emissions functions: */ 693s # void com_acme_coyote_emit_surprised ( 693s # ComAcmeCoyote *object); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void com_acme_coyote_call_run ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_run_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_run_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_call_sleep ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_sleep_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_sleep_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_call_attack ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_attack_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_attack_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* D-Bus property accessors: */ 693s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 693s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 693s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 693s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 693s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 693s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 693s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 693s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 693s # 693s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 693s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 693s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 693s # 693s # struct _ComAcmeCoyoteProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # ComAcmeCoyoteProxyPrivate *priv; 693s # }; 693s # 693s # struct _ComAcmeCoyoteProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 693s # #endif 693s # 693s # void com_acme_coyote_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 693s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 693s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 693s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 693s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 693s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 693s # 693s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 693s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 693s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 693s # 693s # struct _ComAcmeCoyoteSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # ComAcmeCoyoteSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _ComAcmeCoyoteSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 693s # #endif 693s # 693s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie5zav3u/tmpslnh2eps2.xml', '/tmp/tmpie5zav3u/tmpsno674791.xml', '--output', '-', '--header'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for org.project.Bar.Frobnicator */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 693s # 693s # struct _OrgProjectBarFrobnicator; 693s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 693s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 693s # 693s # struct _OrgProjectBarFrobnicatorIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # gboolean (*handle_random_method) ( 693s # OrgProjectBarFrobnicator *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # }; 693s # 693s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 693s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void org_project_bar_frobnicator_complete_random_method ( 693s # OrgProjectBarFrobnicator *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void org_project_bar_frobnicator_call_random_method ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 693s # 693s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 693s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 693s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 693s # 693s # struct _OrgProjectBarFrobnicatorProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # OrgProjectBarFrobnicatorProxyPrivate *priv; 693s # }; 693s # 693s # struct _OrgProjectBarFrobnicatorProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 693s # #endif 693s # 693s # void org_project_bar_frobnicator_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void org_project_bar_frobnicator_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 693s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 693s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 693s # 693s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 693s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 693s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 693s # 693s # struct _OrgProjectBarFrobnicatorSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _OrgProjectBarFrobnicatorSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 693s # #endif 693s # 693s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for com.acme.Coyote */ 693s # 693s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 693s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 693s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 693s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 693s # 693s # struct _ComAcmeCoyote; 693s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 693s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 693s # 693s # struct _ComAcmeCoyoteIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # 693s # 693s # gboolean (*handle_attack) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # gboolean (*handle_run) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # gboolean (*handle_sleep) ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # const gchar * (*get_mood) (ComAcmeCoyote *object); 693s # 693s # void (*surprised) ( 693s # ComAcmeCoyote *object); 693s # 693s # }; 693s # 693s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 693s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void com_acme_coyote_complete_run ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # void com_acme_coyote_complete_sleep ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # void com_acme_coyote_complete_attack ( 693s # ComAcmeCoyote *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus signal emissions functions: */ 693s # void com_acme_coyote_emit_surprised ( 693s # ComAcmeCoyote *object); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void com_acme_coyote_call_run ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_run_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_run_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_call_sleep ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_sleep_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_sleep_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_call_attack ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean com_acme_coyote_call_attack_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean com_acme_coyote_call_attack_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* D-Bus property accessors: */ 693s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 693s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 693s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 693s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 693s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 693s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 693s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 693s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 693s # 693s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 693s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 693s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 693s # 693s # struct _ComAcmeCoyoteProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # ComAcmeCoyoteProxyPrivate *priv; 693s # }; 693s # 693s # struct _ComAcmeCoyoteProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 693s # #endif 693s # 693s # void com_acme_coyote_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void com_acme_coyote_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 693s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 693s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 693s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 693s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 693s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 693s # 693s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 693s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 693s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 693s # 693s # struct _ComAcmeCoyoteSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # ComAcmeCoyoteSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _ComAcmeCoyoteSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 693s # #endif 693s # 693s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie5zav3u/tmpsno674791.xml', '/tmp/tmpie5zav3u/tmpslnh2eps2.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # static void 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint G_GNUC_UNUSED, 693s # void *marshal_data) 693s # { 693s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 693s # (void *data1, 693s # GDBusMethodInvocation *arg_method_invocation, 693s # void *data2); 693s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 693s # GCClosure *cc = (GCClosure*) closure; 693s # void *data1, *data2; 693s # gboolean v_return; 693s # 693s # g_return_if_fail (return_value != NULL); 693s # g_return_if_fail (n_param_values == 2); 693s # 693s # if (G_CCLOSURE_SWAP_DATA (closure)) 693s # { 693s # data1 = closure->data; 693s # data2 = g_value_peek_pointer (param_values + 0); 693s # } 693s # else 693s # { 693s # data1 = g_value_peek_pointer (param_values + 0); 693s # data2 = closure->data; 693s # } 693s # 693s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 693s # (marshal_data ? marshal_data : cc->callback); 693s # 693s # v_return = 693s # callback (data1, 693s # g_marshal_value_peek_object (param_values + 1), 693s # data2); 693s # 693s # g_value_set_boolean (return_value, v_return); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.Bar.Frobnicator 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectBarFrobnicator 693s # * @title: OrgProjectBarFrobnicator 693s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 693s # */ 693s # 693s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 693s # 693s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 693s # { 693s # { 693s # -1, 693s # (gchar *) "RandomMethod", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-random-method", 693s # FALSE 693s # }; 693s # 693s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 693s # { 693s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.Bar.Frobnicator", 693s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-bar-frobnicator", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_bar_frobnicator_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_bar_frobnicator_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_bar_frobnicator_method_marshal_random_method ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectBarFrobnicator: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorIface: 693s # * @parent_iface: The parent interface. 693s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 693s # */ 693s # 693s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 693s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 693s # { 693s # /* GObject signals for incoming D-Bus method calls: */ 693s # /** 693s # * OrgProjectBarFrobnicator::handle-random-method: 693s # * @object: A #OrgProjectBarFrobnicator. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-random-method", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # org_project_bar_frobnicator_method_marshal_random_method, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # org_project_bar_frobnicator_call_random_method ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "RandomMethod", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method_finish: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # org_project_bar_frobnicator_call_random_method_finish ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method_sync: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # org_project_bar_frobnicator_call_random_method_sync ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "RandomMethod", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_complete_random_method: 693s # * @object: A #OrgProjectBarFrobnicator. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # org_project_bar_frobnicator_complete_random_method ( 693s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorProxy: 693s # * 693s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectBarFrobnicatorProxy. 693s # */ 693s # 693s # struct _OrgProjectBarFrobnicatorProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 693s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 693s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_bar_frobnicator_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_bar_frobnicator_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorSkeleton: 693s # * 693s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 693s # */ 693s # 693s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 693s # { 693s # _org_project_bar_frobnicator_skeleton_handle_method_call, 693s # _org_project_bar_frobnicator_skeleton_handle_get_property, 693s # _org_project_bar_frobnicator_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_bar_frobnicator_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface com.acme.Coyote 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:ComAcmeCoyote 693s # * @title: ComAcmeCoyote 693s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 693s # * 693s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _COM_ACME_COYOTE_SURPRISED, 693s # }; 693s # 693s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 693s # 693s # /* ---- Introspection data for com.acme.Coyote ---- */ 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Run", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-run", 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Sleep", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-sleep", 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Attack", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-attack", 693s # FALSE 693s # }; 693s # 693s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 693s # { 693s # &_com_acme_coyote_method_info_run.parent_struct, 693s # &_com_acme_coyote_method_info_sleep.parent_struct, 693s # &_com_acme_coyote_method_info_attack.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Surprised", 693s # NULL, 693s # NULL 693s # }, 693s # "surprised" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 693s # { 693s # &_com_acme_coyote_signal_info_surprised.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Mood", 693s # (gchar *) "s", 693s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 693s # NULL 693s # }, 693s # "mood", 693s # FALSE, 693s # TRUE 693s # }; 693s # 693s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 693s # { 693s # &_com_acme_coyote_property_info_mood.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "com.acme.Coyote", 693s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 693s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 693s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 693s # NULL 693s # }, 693s # "com-acme-coyote", 693s # }; 693s # 693s # 693s # /** 693s # * com_acme_coyote_interface_info: 693s # * 693s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # com_acme_coyote_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 693s # { 693s # g_object_class_override_property (klass, property_id_begin++, "mood"); 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # com_acme_coyote_signal_marshal_surprised ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_run ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_sleep ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_attack ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * ComAcmeCoyote: 693s # * 693s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteIface: 693s # * @parent_iface: The parent interface. 693s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 693s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 693s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 693s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 693s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 693s # * 693s # * Virtual table for the D-Bus interface com.acme.Coyote. 693s # */ 693s # 693s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 693s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 693s # 693s # static void 693s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 693s # { 693s # /* GObject signals for incoming D-Bus method calls: */ 693s # /** 693s # * ComAcmeCoyote::handle-run: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-run", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_run, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /** 693s # * ComAcmeCoyote::handle-sleep: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-sleep", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_sleep, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /** 693s # * ComAcmeCoyote::handle-attack: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-attack", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_attack, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * ComAcmeCoyote::surprised: 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 693s # g_signal_new ("surprised", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 693s # NULL, 693s # NULL, 693s # com_acme_coyote_signal_marshal_surprised, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /* GObject properties for D-Bus properties: */ 693s # /** 693s # * ComAcmeCoyote:mood: 693s # * 693s # * Represents the D-Bus property "Mood". 693s # * 693s # * 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. 693s # */ 693s # g_object_interface_install_property (iface, 693s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_get_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Gets the value of the "Mood" D-Bus property. 693s # * 693s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # const gchar * 693s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 693s # { 693s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 693s # 693s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_dup_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Gets a copy of the "Mood" D-Bus property. 693s # * 693s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 693s # * 693s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 693s # */ 693s # gchar * 693s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 693s # { 693s # gchar *value; 693s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 693s # return value; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_set_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * @value: The value to set. 693s # * 693s # * Sets the "Mood" D-Bus property to @value. 693s # * 693s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 693s # */ 693s # void 693s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 693s # { 693s # g_object_set (G_OBJECT (object), "mood", value, NULL); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_emit_surprised: 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Emits the "Surprised" D-Bus signal. 693s # */ 693s # void 693s # com_acme_coyote_emit_surprised ( 693s # ComAcmeCoyote *object) 693s # { 693s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Run() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_run ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Run", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_run(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_run_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_run_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Run", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_sleep ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Sleep", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_sleep(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_sleep_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_sleep_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Sleep", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_attack ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Attack", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_attack(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_attack_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_attack_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Attack", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_run: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_run ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_sleep: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_sleep ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_attack: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_attack ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * ComAcmeCoyoteProxy: 693s # * 693s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #ComAcmeCoyoteProxy. 693s # */ 693s # 693s # struct _ComAcmeCoyoteProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # com_acme_coyote_proxy_finalize (GObject *object) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_get_property (GObject *object, 693s # guint prop_id, 693s # GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # GVariant *variant; 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 693s # if (info->use_gvariant) 693s # { 693s # g_value_set_variant (value, variant); 693s # } 693s # else 693s # { 693s # if (variant != NULL) 693s # g_dbus_gvariant_to_gvalue (variant, value); 693s # } 693s # if (variant != NULL) 693s # g_variant_unref (variant); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 693s # GAsyncResult *res, 693s # gpointer user_data) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info = user_data; 693s # GError *error; 693s # GVariant *_ret; 693s # error = NULL; 693s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 693s # if (!_ret) 693s # { 693s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 693s # info->parent_struct.name, 693s # error->message, g_quark_to_string (error->domain), error->code); 693s # g_error_free (error); 693s # } 693s # else 693s # { 693s # g_variant_unref (_ret); 693s # } 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_set_property (GObject *object, 693s # guint prop_id, 693s # const GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # GVariant *variant; 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_dbus_proxy_call (G_DBUS_PROXY (object), 693s # "org.freedesktop.DBus.Properties.Set", 693s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 693s # g_variant_unref (variant); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static const gchar * 693s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 693s # GVariant *variant; 693s # const gchar *value = NULL; 693s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 693s # if (variant != NULL) 693s # { 693s # value = g_variant_get_string (variant, NULL); 693s # g_variant_unref (variant); 693s # } 693s # return value; 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 693s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 693s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 693s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 693s # 693s # com_acme_coyote_override_properties (gobject_class, 1); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 693s # { 693s # iface->get_mood = com_acme_coyote_proxy_get_mood; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # com_acme_coyote_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with com_acme_coyote_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # com_acme_coyote_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * ComAcmeCoyoteSkeleton: 693s # * 693s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #ComAcmeCoyoteSkeleton. 693s # */ 693s # 693s # struct _ComAcmeCoyoteSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _com_acme_coyote_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _com_acme_coyote_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _com_acme_coyote_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 693s # { 693s # _com_acme_coyote_skeleton_handle_method_call, 693s # _com_acme_coyote_skeleton_handle_get_property, 693s # _com_acme_coyote_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return com_acme_coyote_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 693s # 693s # static void 693s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 693s # gboolean emit_changed = FALSE; 693s # 693s # g_mutex_lock (&skeleton->priv->lock); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # { 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # skeleton->priv->changed_properties_idle_source = NULL; 693s # emit_changed = TRUE; 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # 693s # if (emit_changed) 693s # _com_acme_coyote_emit_changed (skeleton); 693s # } 693s # 693s # static void 693s # _com_acme_coyote_on_signal_surprised ( 693s # ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # com_acme_coyote_skeleton_finalize (GObject *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # guint n; 693s # for (n = 0; n < 1; n++) 693s # g_value_unset (&skeleton->priv->properties[n]); 693s # g_free (skeleton->priv->properties); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_get_property (GObject *object, 693s # guint prop_id, 693s # GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # g_mutex_lock (&skeleton->priv->lock); 693s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # } 693s # 693s # static gboolean 693s # _com_acme_coyote_emit_changed (gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GList *l; 693s # GVariantBuilder builder; 693s # GVariantBuilder invalidated_builder; 693s # guint num_changes; 693s # 693s # g_mutex_lock (&skeleton->priv->lock); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 693s # #else 693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 693s # #endif 693s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 693s # { 693s # ChangedProperty *cp = l->data; 693s # GVariant *variant; 693s # const GValue *cur_value; 693s # 693s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 693s # if (!_g_value_equal (cur_value, &cp->orig_value)) 693s # { 693s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 693s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 693s # g_variant_unref (variant); 693s # num_changes++; 693s # } 693s # } 693s # if (num_changes > 0) 693s # { 693s # GList *connections, *ll; 693s # GVariant *signal_variant; 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 693s # &builder, &invalidated_builder)); 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # for (ll = connections; ll != NULL; ll = ll->next) 693s # { 693s # GDBusConnection *connection = ll->data; 693s # 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 693s # "org.freedesktop.DBus.Properties", 693s # "PropertiesChanged", 693s # signal_variant, 693s # NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # else 693s # { 693s # g_variant_builder_clear (&builder); 693s # g_variant_builder_clear (&invalidated_builder); 693s # } 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # skeleton->priv->changed_properties = NULL; 693s # skeleton->priv->changed_properties_idle_source = NULL; 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # return FALSE; 693s # } 693s # 693s # static void 693s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 693s # { 693s # ChangedProperty *cp; 693s # GList *l; 693s # cp = NULL; 693s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 693s # { 693s # ChangedProperty *i_cp = l->data; 693s # if (i_cp->info == info) 693s # { 693s # cp = i_cp; 693s # break; 693s # } 693s # } 693s # if (cp == NULL) 693s # { 693s # cp = g_new0 (ChangedProperty, 1); 693s # cp->prop_id = prop_id; 693s # cp->info = info; 693s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 693s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 693s # g_value_copy (orig_value, &cp->orig_value); 693s # } 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_notify (GObject *object, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_mutex_lock (&skeleton->priv->lock); 693s # if (skeleton->priv->changed_properties != NULL && 693s # skeleton->priv->changed_properties_idle_source == NULL) 693s # { 693s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 693s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 693s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 693s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 693s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 693s # g_source_unref (skeleton->priv->changed_properties_idle_source); 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_set_property (GObject *object, 693s # guint prop_id, 693s # const GValue *value, 693s # GParamSpec *pspec) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # g_mutex_lock (&skeleton->priv->lock); 693s # g_object_freeze_notify (object); 693s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 693s # { 693s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 693s # info->emits_changed_signal) 693s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 693s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 693s # g_object_notify_by_pspec (object, pspec); 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # g_object_thaw_notify (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # skeleton->priv->properties = g_new0 (GValue, 1); 693s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 693s # } 693s # 693s # static const gchar * 693s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # const gchar *value; 693s # g_mutex_lock (&skeleton->priv->lock); 693s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # return value; 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 693s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 693s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 693s # gobject_class->notify = com_acme_coyote_skeleton_notify; 693s # 693s # 693s # com_acme_coyote_override_properties (gobject_class, 1); 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 693s # { 693s # iface->surprised = _com_acme_coyote_on_signal_surprised; 693s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_skeleton_new (void) 693s # { 693s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 693s # } 693s # Error: 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie5zav3u/tmpslnh2eps2.xml', '/tmp/tmpie5zav3u/tmpsno674791.xml', '--output', '-', '--body'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifdef HAVE_CONFIG_H 693s # # include "config.h" 693s # #endif 693s # 693s # #include 693s # #ifdef G_OS_UNIX 693s # # include 693s # #endif 693s # 693s # #ifdef G_ENABLE_DEBUG 693s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 693s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 693s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 693s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 693s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 693s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 693s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 693s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 693s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 693s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 693s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 693s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 693s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 693s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 693s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 693s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 693s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 693s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 693s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 693s # #else /* !G_ENABLE_DEBUG */ 693s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 693s # * Do not access GValues directly in your code. Instead, use the 693s # * g_value_get_*() functions 693s # */ 693s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 693s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 693s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 693s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 693s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 693s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 693s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 693s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 693s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 693s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 693s # #endif /* !G_ENABLE_DEBUG */ 693s # 693s # typedef struct 693s # { 693s # GDBusArgInfo parent_struct; 693s # gboolean use_gvariant; 693s # } _ExtendedGDBusArgInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusMethodInfo parent_struct; 693s # const gchar *signal_name; 693s # gboolean pass_fdlist; 693s # } _ExtendedGDBusMethodInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusSignalInfo parent_struct; 693s # const gchar *signal_name; 693s # } _ExtendedGDBusSignalInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusPropertyInfo parent_struct; 693s # const gchar *hyphen_name; 693s # guint use_gvariant : 1; 693s # guint emits_changed_signal : 1; 693s # } _ExtendedGDBusPropertyInfo; 693s # 693s # typedef struct 693s # { 693s # GDBusInterfaceInfo parent_struct; 693s # const gchar *hyphen_name; 693s # } _ExtendedGDBusInterfaceInfo; 693s # 693s # typedef struct 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # guint prop_id; 693s # GValue orig_value; /* the value before the change */ 693s # } ChangedProperty; 693s # 693s # static void 693s # _changed_property_free (ChangedProperty *data) 693s # { 693s # g_value_unset (&data->orig_value); 693s # g_free (data); 693s # } 693s # 693s # static gboolean 693s # _g_strv_equal0 (gchar **a, gchar **b) 693s # { 693s # gboolean ret = FALSE; 693s # guint n; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # if (g_strv_length (a) != g_strv_length (b)) 693s # goto out; 693s # for (n = 0; a[n] != NULL; n++) 693s # if (g_strcmp0 (a[n], b[n]) != 0) 693s # goto out; 693s # ret = TRUE; 693s # out: 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _g_variant_equal0 (GVariant *a, GVariant *b) 693s # { 693s # gboolean ret = FALSE; 693s # if (a == NULL && b == NULL) 693s # { 693s # ret = TRUE; 693s # goto out; 693s # } 693s # if (a == NULL || b == NULL) 693s # goto out; 693s # ret = g_variant_equal (a, b); 693s # out: 693s # return ret; 693s # } 693s # 693s # G_GNUC_UNUSED static gboolean 693s # _g_value_equal (const GValue *a, const GValue *b) 693s # { 693s # gboolean ret = FALSE; 693s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 693s # switch (G_VALUE_TYPE (a)) 693s # { 693s # case G_TYPE_BOOLEAN: 693s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 693s # break; 693s # case G_TYPE_UCHAR: 693s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 693s # break; 693s # case G_TYPE_INT: 693s # ret = (g_value_get_int (a) == g_value_get_int (b)); 693s # break; 693s # case G_TYPE_UINT: 693s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 693s # break; 693s # case G_TYPE_INT64: 693s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 693s # break; 693s # case G_TYPE_UINT64: 693s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 693s # break; 693s # case G_TYPE_DOUBLE: 693s # { 693s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 693s # gdouble da = g_value_get_double (a); 693s # gdouble db = g_value_get_double (b); 693s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 693s # } 693s # break; 693s # case G_TYPE_STRING: 693s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 693s # break; 693s # case G_TYPE_VARIANT: 693s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 693s # break; 693s # default: 693s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 693s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 693s # else 693s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 693s # break; 693s # } 693s # return ret; 693s # } 693s # 693s # static void 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint G_GNUC_UNUSED, 693s # void *marshal_data) 693s # { 693s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 693s # (void *data1, 693s # GDBusMethodInvocation *arg_method_invocation, 693s # void *data2); 693s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 693s # GCClosure *cc = (GCClosure*) closure; 693s # void *data1, *data2; 693s # gboolean v_return; 693s # 693s # g_return_if_fail (return_value != NULL); 693s # g_return_if_fail (n_param_values == 2); 693s # 693s # if (G_CCLOSURE_SWAP_DATA (closure)) 693s # { 693s # data1 = closure->data; 693s # data2 = g_value_peek_pointer (param_values + 0); 693s # } 693s # else 693s # { 693s # data1 = g_value_peek_pointer (param_values + 0); 693s # data2 = closure->data; 693s # } 693s # 693s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 693s # (marshal_data ? marshal_data : cc->callback); 693s # 693s # v_return = 693s # callback (data1, 693s # g_marshal_value_peek_object (param_values + 1), 693s # data2); 693s # 693s # g_value_set_boolean (return_value, v_return); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface org.project.Bar.Frobnicator 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:OrgProjectBarFrobnicator 693s # * @title: OrgProjectBarFrobnicator 693s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 693s # * 693s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 693s # */ 693s # 693s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 693s # 693s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 693s # { 693s # { 693s # -1, 693s # (gchar *) "RandomMethod", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-random-method", 693s # FALSE 693s # }; 693s # 693s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 693s # { 693s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "org.project.Bar.Frobnicator", 693s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "org-project-bar-frobnicator", 693s # }; 693s # 693s # 693s # /** 693s # * org_project_bar_frobnicator_interface_info: 693s # * 693s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # org_project_bar_frobnicator_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 693s # { 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # org_project_bar_frobnicator_method_marshal_random_method ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * OrgProjectBarFrobnicator: 693s # * 693s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorIface: 693s # * @parent_iface: The parent interface. 693s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 693s # * 693s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 693s # */ 693s # 693s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 693s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 693s # 693s # static void 693s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 693s # { 693s # /* GObject signals for incoming D-Bus method calls: */ 693s # /** 693s # * OrgProjectBarFrobnicator::handle-random-method: 693s # * @object: A #OrgProjectBarFrobnicator. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-random-method", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # org_project_bar_frobnicator_method_marshal_random_method, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # org_project_bar_frobnicator_call_random_method ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "RandomMethod", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method_finish: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # org_project_bar_frobnicator_call_random_method_finish ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_call_random_method_sync: 693s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # org_project_bar_frobnicator_call_random_method_sync ( 693s # OrgProjectBarFrobnicator *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "RandomMethod", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_complete_random_method: 693s # * @object: A #OrgProjectBarFrobnicator. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # org_project_bar_frobnicator_complete_random_method ( 693s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorProxy: 693s # * 693s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectBarFrobnicatorProxy. 693s # */ 693s # 693s # struct _OrgProjectBarFrobnicatorProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 693s # { 693s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 693s # guint prop_id G_GNUC_UNUSED, 693s # const GValue *value G_GNUC_UNUSED, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 693s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 693s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 693s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_bar_frobnicator_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # org_project_bar_frobnicator_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorSkeleton: 693s # * 693s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * OrgProjectBarFrobnicatorSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 693s # */ 693s # 693s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 693s # { 693s # _org_project_bar_frobnicator_skeleton_handle_method_call, 693s # _org_project_bar_frobnicator_skeleton_handle_get_property, 693s # _org_project_bar_frobnicator_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return org_project_bar_frobnicator_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 693s # { 693s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 693s # { 693s # } 693s # 693s # /** 693s # * org_project_bar_frobnicator_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 693s # * 693s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 693s # */ 693s # OrgProjectBarFrobnicator * 693s # org_project_bar_frobnicator_skeleton_new (void) 693s # { 693s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ 693s # * Code for interface com.acme.Coyote 693s # * ------------------------------------------------------------------------ 693s # */ 693s # 693s # /** 693s # * SECTION:ComAcmeCoyote 693s # * @title: ComAcmeCoyote 693s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 693s # * 693s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 693s # */ 693s # 693s # enum 693s # { 693s # _COM_ACME_COYOTE_SURPRISED, 693s # }; 693s # 693s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 693s # 693s # /* ---- Introspection data for com.acme.Coyote ---- */ 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Run", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-run", 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Sleep", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-sleep", 693s # FALSE 693s # }; 693s # 693s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Attack", 693s # NULL, 693s # NULL, 693s # NULL 693s # }, 693s # "handle-attack", 693s # FALSE 693s # }; 693s # 693s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 693s # { 693s # &_com_acme_coyote_method_info_run.parent_struct, 693s # &_com_acme_coyote_method_info_sleep.parent_struct, 693s # &_com_acme_coyote_method_info_attack.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Surprised", 693s # NULL, 693s # NULL 693s # }, 693s # "surprised" 693s # }; 693s # 693s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 693s # { 693s # &_com_acme_coyote_signal_info_surprised.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 693s # { 693s # { 693s # -1, 693s # (gchar *) "Mood", 693s # (gchar *) "s", 693s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 693s # NULL 693s # }, 693s # "mood", 693s # FALSE, 693s # TRUE 693s # }; 693s # 693s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 693s # { 693s # &_com_acme_coyote_property_info_mood.parent_struct, 693s # NULL 693s # }; 693s # 693s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 693s # { 693s # { 693s # -1, 693s # (gchar *) "com.acme.Coyote", 693s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 693s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 693s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 693s # NULL 693s # }, 693s # "com-acme-coyote", 693s # }; 693s # 693s # 693s # /** 693s # * com_acme_coyote_interface_info: 693s # * 693s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 693s # * 693s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 693s # */ 693s # GDBusInterfaceInfo * 693s # com_acme_coyote_interface_info (void) 693s # { 693s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_override_properties: 693s # * @klass: The class structure for a #GObject derived class. 693s # * @property_id_begin: The property id to assign to the first overridden property. 693s # * 693s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 693s # * The properties are overridden in the order they are defined. 693s # * 693s # * Returns: The last property id. 693s # */ 693s # guint 693s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 693s # { 693s # g_object_class_override_property (klass, property_id_begin++, "mood"); 693s # return property_id_begin - 1; 693s # } 693s # 693s # 693s # inline static void 693s # com_acme_coyote_signal_marshal_surprised ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # g_cclosure_marshal_VOID__VOID (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_run ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_sleep ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # inline static void 693s # com_acme_coyote_method_marshal_attack ( 693s # GClosure *closure, 693s # GValue *return_value, 693s # unsigned int n_param_values, 693s # const GValue *param_values, 693s # void *invocation_hint, 693s # void *marshal_data) 693s # { 693s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 693s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 693s # } 693s # 693s # 693s # /** 693s # * ComAcmeCoyote: 693s # * 693s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteIface: 693s # * @parent_iface: The parent interface. 693s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 693s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 693s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 693s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 693s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 693s # * 693s # * Virtual table for the D-Bus interface com.acme.Coyote. 693s # */ 693s # 693s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 693s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 693s # 693s # static void 693s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 693s # { 693s # /* GObject signals for incoming D-Bus method calls: */ 693s # /** 693s # * ComAcmeCoyote::handle-run: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-run", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_run, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /** 693s # * ComAcmeCoyote::handle-sleep: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-sleep", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_sleep, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /** 693s # * ComAcmeCoyote::handle-attack: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: A #GDBusMethodInvocation. 693s # * 693s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # g_signal_new ("handle-attack", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 693s # g_signal_accumulator_true_handled, 693s # NULL, 693s # com_acme_coyote_method_marshal_attack, 693s # G_TYPE_BOOLEAN, 693s # 1, 693s # G_TYPE_DBUS_METHOD_INVOCATION); 693s # 693s # /* GObject signals for received D-Bus signals: */ 693s # /** 693s # * ComAcmeCoyote::surprised: 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 693s # * 693s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 693s # */ 693s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 693s # g_signal_new ("surprised", 693s # G_TYPE_FROM_INTERFACE (iface), 693s # G_SIGNAL_RUN_LAST, 693s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 693s # NULL, 693s # NULL, 693s # com_acme_coyote_signal_marshal_surprised, 693s # G_TYPE_NONE, 693s # 0); 693s # 693s # /* GObject properties for D-Bus properties: */ 693s # /** 693s # * ComAcmeCoyote:mood: 693s # * 693s # * Represents the D-Bus property "Mood". 693s # * 693s # * 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. 693s # */ 693s # g_object_interface_install_property (iface, 693s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_get_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Gets the value of the "Mood" D-Bus property. 693s # * 693s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 693s # * 693s # * 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. 693s # * 693s # * 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. 693s # */ 693s # const gchar * 693s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 693s # { 693s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 693s # 693s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_dup_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Gets a copy of the "Mood" D-Bus property. 693s # * 693s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 693s # * 693s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 693s # */ 693s # gchar * 693s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 693s # { 693s # gchar *value; 693s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 693s # return value; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_set_mood: (skip) 693s # * @object: A #ComAcmeCoyote. 693s # * @value: The value to set. 693s # * 693s # * Sets the "Mood" D-Bus property to @value. 693s # * 693s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 693s # */ 693s # void 693s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 693s # { 693s # g_object_set (G_OBJECT (object), "mood", value, NULL); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_emit_surprised: 693s # * @object: A #ComAcmeCoyote. 693s # * 693s # * Emits the "Surprised" D-Bus signal. 693s # */ 693s # void 693s # com_acme_coyote_emit_surprised ( 693s # ComAcmeCoyote *object) 693s # { 693s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Run() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_run ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Run", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_run(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_run_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_run_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_run_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Run", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_sleep ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Sleep", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_sleep(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_sleep_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_sleep_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_sleep_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Sleep", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 693s # */ 693s # void 693s # com_acme_coyote_call_attack ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 693s # "Attack", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # callback, 693s # user_data); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack_finish: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Finishes an operation started with com_acme_coyote_call_attack(). 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_attack_finish ( 693s # ComAcmeCoyote *proxy, 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_call_attack_sync: 693s # * @proxy: A #ComAcmeCoyoteProxy. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL. 693s # * 693s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 693s # * 693s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 693s # */ 693s # gboolean 693s # com_acme_coyote_call_attack_sync ( 693s # ComAcmeCoyote *proxy, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GVariant *_ret; 693s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 693s # "Attack", 693s # g_variant_new ("()"), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # cancellable, 693s # error); 693s # if (_ret == NULL) 693s # goto _out; 693s # g_variant_get (_ret, 693s # "()"); 693s # g_variant_unref (_ret); 693s # _out: 693s # return _ret != NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_run: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_run ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_sleep: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_sleep ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_complete_attack: 693s # * @object: A #ComAcmeCoyote. 693s # * @invocation: (transfer full): A #GDBusMethodInvocation. 693s # * 693s # * 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. 693s # * 693s # * This method will free @invocation, you cannot use it afterwards. 693s # */ 693s # void 693s # com_acme_coyote_complete_attack ( 693s # ComAcmeCoyote *object G_GNUC_UNUSED, 693s # GDBusMethodInvocation *invocation) 693s # { 693s # g_dbus_method_invocation_return_value (invocation, 693s # g_variant_new ("()")); 693s # } 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * ComAcmeCoyoteProxy: 693s # * 693s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteProxyClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #ComAcmeCoyoteProxy. 693s # */ 693s # 693s # struct _ComAcmeCoyoteProxyPrivate 693s # { 693s # GData *qdata; 693s # }; 693s # 693s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 693s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 693s # 693s # #endif 693s # static void 693s # com_acme_coyote_proxy_finalize (GObject *object) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 693s # g_datalist_clear (&proxy->priv->qdata); 693s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_get_property (GObject *object, 693s # guint prop_id, 693s # GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # GVariant *variant; 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 693s # if (info->use_gvariant) 693s # { 693s # g_value_set_variant (value, variant); 693s # } 693s # else 693s # { 693s # if (variant != NULL) 693s # g_dbus_gvariant_to_gvalue (variant, value); 693s # } 693s # if (variant != NULL) 693s # g_variant_unref (variant); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 693s # GAsyncResult *res, 693s # gpointer user_data) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info = user_data; 693s # GError *error; 693s # GVariant *_ret; 693s # error = NULL; 693s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 693s # if (!_ret) 693s # { 693s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 693s # info->parent_struct.name, 693s # error->message, g_quark_to_string (error->domain), error->code); 693s # g_error_free (error); 693s # } 693s # else 693s # { 693s # g_variant_unref (_ret); 693s # } 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_set_property (GObject *object, 693s # guint prop_id, 693s # const GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # GVariant *variant; 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_dbus_proxy_call (G_DBUS_PROXY (object), 693s # "org.freedesktop.DBus.Properties.Set", 693s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 693s # G_DBUS_CALL_FLAGS_NONE, 693s # -1, 693s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 693s # g_variant_unref (variant); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 693s # const gchar *sender_name G_GNUC_UNUSED, 693s # const gchar *signal_name, 693s # GVariant *parameters) 693s # { 693s # _ExtendedGDBusSignalInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # gsize n; 693s # guint signal_id; 693s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 693s # if (info == NULL) 693s # return; 693s # num_params = g_variant_n_children (parameters); 693s # paramv = g_new0 (GValue, num_params + 1); 693s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 693s # g_value_set_object (¶mv[0], proxy); 693s # g_variant_iter_init (&iter, parameters); 693s # n = 1; 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 693s # g_signal_emitv (paramv, signal_id, 0, NULL); 693s # for (n = 0; n < num_params + 1; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 693s # GVariant *changed_properties, 693s # const gchar *const *invalidated_properties) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 693s # guint n; 693s # const gchar *key; 693s # GVariantIter *iter; 693s # _ExtendedGDBusPropertyInfo *info; 693s # g_variant_get (changed_properties, "a{sv}", &iter); 693s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 693s # g_datalist_remove_data (&proxy->priv->qdata, key); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # g_variant_iter_free (iter); 693s # for (n = 0; invalidated_properties[n] != NULL; n++) 693s # { 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 693s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 693s # if (info != NULL) 693s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 693s # } 693s # } 693s # 693s # static const gchar * 693s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 693s # GVariant *variant; 693s # const gchar *value = NULL; 693s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 693s # if (variant != NULL) 693s # { 693s # value = g_variant_get_string (variant, NULL); 693s # g_variant_unref (variant); 693s # } 693s # return value; 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 693s # #else 693s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 693s # #endif 693s # 693s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusProxyClass *proxy_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 693s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 693s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 693s # 693s # proxy_class = G_DBUS_PROXY_CLASS (klass); 693s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 693s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 693s # 693s # com_acme_coyote_override_properties (gobject_class, 1); 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 693s # { 693s # iface->get_mood = com_acme_coyote_proxy_get_mood; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # com_acme_coyote_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with com_acme_coyote_proxy_new(). 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_sync: 693s # * @connection: A #GDBusConnection. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 693s # * @user_data: User data to pass to @callback. 693s # * 693s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 693s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 693s # * 693s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 693s # */ 693s # void 693s # com_acme_coyote_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data) 693s # { 693s # 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); 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus_finish: 693s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 693s # * @error: Return location for error or %NULL 693s # * 693s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error) 693s # { 693s # GObject *ret; 693s # GObject *source_object; 693s # source_object = g_async_result_get_source_object (res); 693s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 693s # g_object_unref (source_object); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_proxy_new_for_bus_sync: 693s # * @bus_type: A #GBusType. 693s # * @flags: Flags from the #GDBusProxyFlags enumeration. 693s # * @name: A bus name (well-known or unique). 693s # * @object_path: An object path. 693s # * @cancellable: (nullable): A #GCancellable or %NULL. 693s # * @error: Return location for error or %NULL 693s # * 693s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 693s # * 693s # * The calling thread is blocked until a reply is received. 693s # * 693s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error) 693s # { 693s # GInitable *ret; 693s # 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); 693s # if (ret != NULL) 693s # return COM_ACME_COYOTE (ret); 693s # else 693s # return NULL; 693s # } 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # 693s # /** 693s # * ComAcmeCoyoteSkeleton: 693s # * 693s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 693s # */ 693s # 693s # /** 693s # * ComAcmeCoyoteSkeletonClass: 693s # * @parent_class: The parent class. 693s # * 693s # * Class structure for #ComAcmeCoyoteSkeleton. 693s # */ 693s # 693s # struct _ComAcmeCoyoteSkeletonPrivate 693s # { 693s # GValue *properties; 693s # GList *changed_properties; 693s # GSource *changed_properties_idle_source; 693s # GMainContext *context; 693s # GMutex lock; 693s # }; 693s # 693s # static void 693s # _com_acme_coyote_skeleton_handle_method_call ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name, 693s # const gchar *method_name, 693s # GVariant *parameters, 693s # GDBusMethodInvocation *invocation, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # _ExtendedGDBusMethodInfo *info; 693s # GVariantIter iter; 693s # GVariant *child; 693s # GValue *paramv; 693s # gsize num_params; 693s # guint num_extra; 693s # gsize n; 693s # guint signal_id; 693s # GValue return_value = G_VALUE_INIT; 693s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 693s # g_assert (info != NULL); 693s # num_params = g_variant_n_children (parameters); 693s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 693s # n = 0; 693s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 693s # g_value_set_object (¶mv[n++], skeleton); 693s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 693s # g_value_set_object (¶mv[n++], invocation); 693s # if (info->pass_fdlist) 693s # { 693s # #ifdef G_OS_UNIX 693s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 693s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 693s # #else 693s # g_assert_not_reached (); 693s # #endif 693s # } 693s # g_variant_iter_init (&iter, parameters); 693s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 693s # { 693s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 693s # if (arg_info->use_gvariant) 693s # { 693s # g_value_init (¶mv[n], G_TYPE_VARIANT); 693s # g_value_set_variant (¶mv[n], child); 693s # n++; 693s # } 693s # else 693s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 693s # g_variant_unref (child); 693s # } 693s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 693s # g_value_init (&return_value, G_TYPE_BOOLEAN); 693s # g_signal_emitv (paramv, signal_id, 0, &return_value); 693s # if (!g_value_get_boolean (&return_value)) 693s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 693s # g_value_unset (&return_value); 693s # for (n = 0; n < num_params + num_extra; n++) 693s # g_value_unset (¶mv[n]); 693s # g_free (paramv); 693s # } 693s # 693s # static GVariant * 693s # _com_acme_coyote_skeleton_handle_get_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # GVariant *ret; 693s # ret = NULL; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # g_value_init (&value, pspec->value_type); 693s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 693s # g_value_unset (&value); 693s # } 693s # return ret; 693s # } 693s # 693s # static gboolean 693s # _com_acme_coyote_skeleton_handle_set_property ( 693s # GDBusConnection *connection G_GNUC_UNUSED, 693s # const gchar *sender G_GNUC_UNUSED, 693s # const gchar *object_path G_GNUC_UNUSED, 693s # const gchar *interface_name G_GNUC_UNUSED, 693s # const gchar *property_name, 693s # GVariant *variant, 693s # GError **error, 693s # gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GValue value = G_VALUE_INIT; 693s # GParamSpec *pspec; 693s # _ExtendedGDBusPropertyInfo *info; 693s # gboolean ret; 693s # ret = FALSE; 693s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 693s # g_assert (info != NULL); 693s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 693s # if (pspec == NULL) 693s # { 693s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 693s # } 693s # else 693s # { 693s # if (info->use_gvariant) 693s # g_value_set_variant (&value, variant); 693s # else 693s # g_dbus_gvariant_to_gvalue (variant, &value); 693s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 693s # g_value_unset (&value); 693s # ret = TRUE; 693s # } 693s # return ret; 693s # } 693s # 693s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 693s # { 693s # _com_acme_coyote_skeleton_handle_method_call, 693s # _com_acme_coyote_skeleton_handle_get_property, 693s # _com_acme_coyote_skeleton_handle_set_property, 693s # {NULL} 693s # }; 693s # 693s # static GDBusInterfaceInfo * 693s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return com_acme_coyote_interface_info (); 693s # } 693s # 693s # static GDBusInterfaceVTable * 693s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 693s # { 693s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 693s # } 693s # 693s # static GVariant * 693s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 693s # 693s # GVariantBuilder builder; 693s # guint n; 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #else 693s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 693s # #endif 693s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 693s # goto out; 693s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 693s # { 693s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 693s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 693s # { 693s # GVariant *value; 693s # 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); 693s # if (value != NULL) 693s # { 693s # g_variant_take_ref (value); 693s # g_variant_builder_add (&builder, "{sv}", info->name, value); 693s # g_variant_unref (value); 693s # } 693s # } 693s # } 693s # out: 693s # return g_variant_builder_end (&builder); 693s # } 693s # 693s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 693s # 693s # static void 693s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 693s # gboolean emit_changed = FALSE; 693s # 693s # g_mutex_lock (&skeleton->priv->lock); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # { 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # skeleton->priv->changed_properties_idle_source = NULL; 693s # emit_changed = TRUE; 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # 693s # if (emit_changed) 693s # _com_acme_coyote_emit_changed (skeleton); 693s # } 693s # 693s # static void 693s # _com_acme_coyote_on_signal_surprised ( 693s # ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # 693s # GList *connections, *l; 693s # GVariant *signal_variant; 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # 693s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 693s # for (l = connections; l != NULL; l = l->next) 693s # { 693s # GDBusConnection *connection = l->data; 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 693s # signal_variant, NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # 693s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 693s # 693s # #else 693s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 693s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 693s # 693s # #endif 693s # static void 693s # com_acme_coyote_skeleton_finalize (GObject *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # guint n; 693s # for (n = 0; n < 1; n++) 693s # g_value_unset (&skeleton->priv->properties[n]); 693s # g_free (skeleton->priv->properties); 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # if (skeleton->priv->changed_properties_idle_source != NULL) 693s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 693s # g_main_context_unref (skeleton->priv->context); 693s # g_mutex_clear (&skeleton->priv->lock); 693s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_get_property (GObject *object, 693s # guint prop_id, 693s # GValue *value, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # g_mutex_lock (&skeleton->priv->lock); 693s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # } 693s # 693s # static gboolean 693s # _com_acme_coyote_emit_changed (gpointer user_data) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 693s # GList *l; 693s # GVariantBuilder builder; 693s # GVariantBuilder invalidated_builder; 693s # guint num_changes; 693s # 693s # g_mutex_lock (&skeleton->priv->lock); 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 693s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 693s # #else 693s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 693s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 693s # #endif 693s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 693s # { 693s # ChangedProperty *cp = l->data; 693s # GVariant *variant; 693s # const GValue *cur_value; 693s # 693s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 693s # if (!_g_value_equal (cur_value, &cp->orig_value)) 693s # { 693s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 693s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 693s # g_variant_unref (variant); 693s # num_changes++; 693s # } 693s # } 693s # if (num_changes > 0) 693s # { 693s # GList *connections, *ll; 693s # GVariant *signal_variant; 693s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 693s # &builder, &invalidated_builder)); 693s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 693s # for (ll = connections; ll != NULL; ll = ll->next) 693s # { 693s # GDBusConnection *connection = ll->data; 693s # 693s # g_dbus_connection_emit_signal (connection, 693s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 693s # "org.freedesktop.DBus.Properties", 693s # "PropertiesChanged", 693s # signal_variant, 693s # NULL); 693s # } 693s # g_variant_unref (signal_variant); 693s # g_list_free_full (connections, g_object_unref); 693s # } 693s # else 693s # { 693s # g_variant_builder_clear (&builder); 693s # g_variant_builder_clear (&invalidated_builder); 693s # } 693s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 693s # skeleton->priv->changed_properties = NULL; 693s # skeleton->priv->changed_properties_idle_source = NULL; 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # return FALSE; 693s # } 693s # 693s # static void 693s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 693s # { 693s # ChangedProperty *cp; 693s # GList *l; 693s # cp = NULL; 693s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 693s # { 693s # ChangedProperty *i_cp = l->data; 693s # if (i_cp->info == info) 693s # { 693s # cp = i_cp; 693s # break; 693s # } 693s # } 693s # if (cp == NULL) 693s # { 693s # cp = g_new0 (ChangedProperty, 1); 693s # cp->prop_id = prop_id; 693s # cp->info = info; 693s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 693s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 693s # g_value_copy (orig_value, &cp->orig_value); 693s # } 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_notify (GObject *object, 693s # GParamSpec *pspec G_GNUC_UNUSED) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_mutex_lock (&skeleton->priv->lock); 693s # if (skeleton->priv->changed_properties != NULL && 693s # skeleton->priv->changed_properties_idle_source == NULL) 693s # { 693s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 693s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 693s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 693s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 693s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 693s # g_source_unref (skeleton->priv->changed_properties_idle_source); 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_set_property (GObject *object, 693s # guint prop_id, 693s # const GValue *value, 693s # GParamSpec *pspec) 693s # { 693s # const _ExtendedGDBusPropertyInfo *info; 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # g_assert (prop_id != 0 && prop_id - 1 < 1); 693s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 693s # g_mutex_lock (&skeleton->priv->lock); 693s # g_object_freeze_notify (object); 693s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 693s # { 693s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 693s # info->emits_changed_signal) 693s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 693s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 693s # g_object_notify_by_pspec (object, pspec); 693s # } 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # g_object_thaw_notify (object); 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 693s # { 693s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 693s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 693s # #else 693s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 693s # #endif 693s # 693s # g_mutex_init (&skeleton->priv->lock); 693s # skeleton->priv->context = g_main_context_ref_thread_default (); 693s # skeleton->priv->properties = g_new0 (GValue, 1); 693s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 693s # } 693s # 693s # static const gchar * 693s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 693s # { 693s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 693s # const gchar *value; 693s # g_mutex_lock (&skeleton->priv->lock); 693s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 693s # g_mutex_unlock (&skeleton->priv->lock); 693s # return value; 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 693s # { 693s # GObjectClass *gobject_class; 693s # GDBusInterfaceSkeletonClass *skeleton_class; 693s # 693s # gobject_class = G_OBJECT_CLASS (klass); 693s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 693s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 693s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 693s # gobject_class->notify = com_acme_coyote_skeleton_notify; 693s # 693s # 693s # com_acme_coyote_override_properties (gobject_class, 1); 693s # 693s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 693s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 693s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 693s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 693s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 693s # 693s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 693s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 693s # #endif 693s # } 693s # 693s # static void 693s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 693s # { 693s # iface->surprised = _com_acme_coyote_on_signal_surprised; 693s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 693s # } 693s # 693s # /** 693s # * com_acme_coyote_skeleton_new: 693s # * 693s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 693s # * 693s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 693s # */ 693s # ComAcmeCoyote * 693s # com_acme_coyote_skeleton_new (void) 693s # { 693s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 693s # } 693s # Error: 693s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 693s # gdbus-codegen: /usr/bin/gdbus-codegen 693s # tmpdir: /tmp/tmpfu7mejy9 693s # /tmp/tmpfu7mejy9/tmpp29yruid.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfu7mejy9/tmpp29yruid.xml', '--output', '-', '--header'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for FDPassing */ 693s # 693s # #define TYPE_FDPASSING (fdpassing_get_type ()) 693s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 693s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 693s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 693s # 693s # struct _FDPassing; 693s # typedef struct _FDPassing FDPassing; 693s # typedef struct _FDPassingIface FDPassingIface; 693s # 693s # struct _FDPassingIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # gboolean (*handle_hello_fd) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *arg_greeting); 693s # 693s # gboolean (*handle_no_annotation) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale); 693s # 693s # gboolean (*handle_no_annotation_nested) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *arg_files); 693s # 693s # }; 693s # 693s # GType fdpassing_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *fdpassing_interface_info (void); 693s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void fdpassing_complete_hello_fd ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *response); 693s # 693s # void fdpassing_complete_no_annotation ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *response, 693s # const gchar *response_locale); 693s # 693s # void fdpassing_complete_no_annotation_nested ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void fdpassing_call_hello_fd ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GUnixFDList *fd_list, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_hello_fd_finish ( 693s # FDPassing *proxy, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_hello_fd_sync ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GUnixFDList *fd_list, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_finish ( 693s # FDPassing *proxy, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation_nested ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_finish ( 693s # FDPassing *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 693s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 693s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 693s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 693s # 693s # typedef struct _FDPassingProxy FDPassingProxy; 693s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 693s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 693s # 693s # struct _FDPassingProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # FDPassingProxyPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 693s # #endif 693s # 693s # void fdpassing_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 693s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 693s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 693s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 693s # 693s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 693s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 693s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 693s # 693s # struct _FDPassingSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # FDPassingSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 693s # #endif 693s # 693s # FDPassing *fdpassing_skeleton_new (void); 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s # 693s # /tmp/tmpfu7mejy9/tmprisrxqtk.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfu7mejy9/tmprisrxqtk.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for FDPassing */ 693s # 693s # #define TYPE_FDPASSING (fdpassing_get_type ()) 693s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 693s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 693s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 693s # 693s # struct _FDPassing; 693s # typedef struct _FDPassing FDPassing; 693s # typedef struct _FDPassingIface FDPassingIface; 693s # 693s # struct _FDPassingIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # gboolean (*handle_hello_fd) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *arg_greeting); 693s # 693s # gboolean (*handle_no_annotation) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale); 693s # 693s # gboolean (*handle_no_annotation_nested) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *arg_files); 693s # 693s # }; 693s # 693s # GType fdpassing_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *fdpassing_interface_info (void); 693s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void fdpassing_complete_hello_fd ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *response); 693s # 693s # void fdpassing_complete_no_annotation ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GVariant *response, 693s # const gchar *response_locale); 693s # 693s # void fdpassing_complete_no_annotation_nested ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void fdpassing_call_hello_fd ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GUnixFDList *fd_list, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_hello_fd_finish ( 693s # FDPassing *proxy, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_hello_fd_sync ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GUnixFDList *fd_list, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_finish ( 693s # FDPassing *proxy, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation_nested ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_finish ( 693s # FDPassing *proxy, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 693s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 693s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 693s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 693s # 693s # typedef struct _FDPassingProxy FDPassingProxy; 693s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 693s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 693s # 693s # struct _FDPassingProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # FDPassingProxyPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 693s # #endif 693s # 693s # void fdpassing_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 693s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 693s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 693s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 693s # 693s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 693s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 693s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 693s # 693s # struct _FDPassingSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # FDPassingSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 693s # #endif 693s # 693s # FDPassing *fdpassing_skeleton_new (void); 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s # 693s # /tmp/tmpfu7mejy9/tmpkke3g_po.xml: 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # 693s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfu7mejy9/tmpkke3g_po.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 693s # Return code: 0 693s # Output: 693s # /* 693s # * This file is generated by gdbus-codegen, do not modify it. 693s # * 693s # * The license of this code is the same as for the D-Bus interface description 693s # * it was derived from. Note that it links to GLib, so must comply with the 693s # * LGPL linking clauses. 693s # */ 693s # 693s # #ifndef __STDOUT__ 693s # #define __STDOUT__ 693s # 693s # #include 693s # 693s # G_BEGIN_DECLS 693s # 693s # 693s # /* ------------------------------------------------------------------------ */ 693s # /* Declarations for FDPassing */ 693s # 693s # #define TYPE_FDPASSING (fdpassing_get_type ()) 693s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 693s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 693s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 693s # 693s # struct _FDPassing; 693s # typedef struct _FDPassing FDPassing; 693s # typedef struct _FDPassingIface FDPassingIface; 693s # 693s # struct _FDPassingIface 693s # { 693s # GTypeInterface parent_iface; 693s # 693s # gboolean (*handle_hello_fd) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *arg_greeting); 693s # 693s # gboolean (*handle_no_annotation) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale); 693s # 693s # gboolean (*handle_no_annotation_nested) ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # GVariant *arg_files); 693s # 693s # }; 693s # 693s # GType fdpassing_get_type (void) G_GNUC_CONST; 693s # 693s # GDBusInterfaceInfo *fdpassing_interface_info (void); 693s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 693s # 693s # 693s # /* D-Bus method call completion functions: */ 693s # void fdpassing_complete_hello_fd ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # const gchar *response); 693s # 693s # void fdpassing_complete_no_annotation ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list, 693s # GVariant *response, 693s # const gchar *response_locale); 693s # 693s # void fdpassing_complete_no_annotation_nested ( 693s # FDPassing *object, 693s # GDBusMethodInvocation *invocation, 693s # GUnixFDList *fd_list); 693s # 693s # 693s # 693s # /* D-Bus method calls: */ 693s # void fdpassing_call_hello_fd ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_hello_fd_finish ( 693s # FDPassing *proxy, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_hello_fd_sync ( 693s # FDPassing *proxy, 693s # const gchar *arg_greeting, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # gchar **out_response, 693s # GUnixFDList **out_fd_list, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_finish ( 693s # FDPassing *proxy, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GUnixFDList **out_fd_list, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_greeting, 693s # const gchar *arg_greeting_locale, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # GVariant **out_response, 693s # gchar **out_response_locale, 693s # GUnixFDList **out_fd_list, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_call_no_annotation_nested ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_finish ( 693s # FDPassing *proxy, 693s # GUnixFDList **out_fd_list, 693s # GAsyncResult *res, 693s # GError **error); 693s # 693s # gboolean fdpassing_call_no_annotation_nested_sync ( 693s # FDPassing *proxy, 693s # GVariant *arg_files, 693s # GDBusCallFlags call_flags, 693s # gint timeout_msec, 693s # GUnixFDList *fd_list, 693s # GUnixFDList **out_fd_list, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 693s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 693s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 693s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 693s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 693s # 693s # typedef struct _FDPassingProxy FDPassingProxy; 693s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 693s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 693s # 693s # struct _FDPassingProxy 693s # { 693s # /*< private >*/ 693s # GDBusProxy parent_instance; 693s # FDPassingProxyPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingProxyClass 693s # { 693s # GDBusProxyClass parent_class; 693s # }; 693s # 693s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 693s # #endif 693s # 693s # void fdpassing_proxy_new ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_sync ( 693s # GDBusConnection *connection, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # void fdpassing_proxy_new_for_bus ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GAsyncReadyCallback callback, 693s # gpointer user_data); 693s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 693s # GAsyncResult *res, 693s # GError **error); 693s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 693s # GBusType bus_type, 693s # GDBusProxyFlags flags, 693s # const gchar *name, 693s # const gchar *object_path, 693s # GCancellable *cancellable, 693s # GError **error); 693s # 693s # 693s # /* ---- */ 693s # 693s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 693s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 693s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 693s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 693s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 693s # 693s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 693s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 693s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 693s # 693s # struct _FDPassingSkeleton 693s # { 693s # /*< private >*/ 693s # GDBusInterfaceSkeleton parent_instance; 693s # FDPassingSkeletonPrivate *priv; 693s # }; 693s # 693s # struct _FDPassingSkeletonClass 693s # { 693s # GDBusInterfaceSkeletonClass parent_class; 693s # }; 693s # 693s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 693s # 693s # #if GLIB_CHECK_VERSION(2, 44, 0) 693s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 693s # #endif 693s # 693s # FDPassing *fdpassing_skeleton_new (void); 693s # 693s # 693s # G_END_DECLS 693s # 693s # #endif /* __STDOUT__ */ 693s # Error: 693s 1..39 693s ok - glib/codegen.py.test 693s # Running test: glib/node.test 693s TAP version 14 693s # random seed: R02Sb3f08aa84e3e88066ee18f896d1f5498 693s 1..6 693s # Start of node tests 693s ok 1 /node/allocation 693s ok 2 /node/construction 693s ok 3 /node/traversal 693s ok 4 /node/misc 693s ok 5 /node/unlink 693s ok 6 /node/copy 693s # End of node tests 693s TAP version 14 693s # random seed: R02S7e404636e681704412f047db53ddd72a 693s 1..19 693s # Start of binding tests 693s ok 1 /binding/default 693s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 693s ok 2 /binding/canonicalisation 693s ok 3 /binding/bidirectional 693s ok 4 /binding/transform 693s ok 5 /binding/transform-default 693s ok 6 /binding/transform-closure 693s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 693s ok 7 /binding/chain 693s ok 8 /binding/sync-create 693s ok 9 /binding/invert-boolean 693s ok 10 /binding/same-object 693s ok 11 /binding/unbind 693s ok 12 /binding/unbind-weak 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 693s ok 13 /binding/unbind-multiple 693s ok 14 /binding/fail 693s ok 15 /binding/interface 693s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 693s ok - glib/node.test 693s # Running test: glib/binding.test 693s ok 16 /binding/concurrent-unbind 693s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 693s ok 17 /binding/concurrent-finalizing 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 693s ok 18 /binding/dispose-source 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 693s ok 19 /binding/dispose-target 693s # End of binding tests 693s ok - glib/binding.test 693s # Running test: glib/macros.test 693s ok - glib/macros.test 693s # Running test: glib/gdbus-close-pending.test 693s TAP version 14 693s # random seed: R02S98d334864184516fd93f6492f47feec1 693s 1..3 693s # Start of alignof tests 693s ok 1 /alignof/fallback 693s # End of alignof tests 693s # Start of assert tests 693s ok 2 /assert/static 693s # End of assert tests 693s # Start of struct tests 693s ok 3 /struct/sizeof_member 693s # End of struct tests 693s TAP version 14 693s # random seed: R02Sec20ddacb5f69b122fd85af72ebe6017 693s 1..2 693s # Start of gdbus tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/close-pending/.dirs/runtime 694s ok 1 /gdbus/close-pending 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_1Y5SE3/gdbus/unref-pending/.dirs/runtime 694s ok 2 /gdbus/unref-pending 694s # End of gdbus tests 694s ok - glib/gdbus-close-pending.test 694s # Running test: glib/properties.test 694s TAP version 14 694s # random seed: R02S97e61b07a61db071deecd8ea5f8512e5 694s 1..14 694s # Start of properties tests 694s ok 1 /properties/install 694s ok 2 /properties/install-many 694s ok 3 /properties/notify 694s ok 4 /properties/notify-queue 694s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 694s ok 5 /properties/construct 694s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 694s # Test g_object_get_property with an initialized value 694s # Test g_object_get_property with an uninitialized value 694s # Test g_object_get_property with a transformable value 694s ok 6 /properties/get-property 694s ok 7 /properties/testv_with_no_properties 694s ok 8 /properties/testv_with_valid_properties 694s ok 9 /properties/testv_with_invalid_property_type 694s ok 10 /properties/testv_with_invalid_property_names 694s ok 11 /properties/testv_getv 694s ok 12 /properties/testv_notify_queue 694s # Start of notify tests 694s ok 13 /properties/notify/too-many-freezes 694s # End of notify tests 694s # Start of set-property tests 694s # Start of variant tests 694s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 694s ok 14 /properties/set-property/variant/floating 694s # End of variant tests 694s # End of set-property tests 694s # End of properties tests 694s ok - glib/properties.test 694s # Running test: glib/autoptr-girepository.test 694s TAP version 14 694s # random seed: R02Sd17e31b2c8a7ebdafe25b2e03c5af1ce 694s 1..24 694s # Start of autoptr tests 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/repository/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 1 /autoptr/repository 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/typelib/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 2 /autoptr/typelib 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/base-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 3 /autoptr/base-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/arg-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 4 /autoptr/arg-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callable-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 5 /autoptr/callable-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/callback-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 6 /autoptr/callback-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/constant-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 7 /autoptr/constant-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/enum-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 8 /autoptr/enum-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/field-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 9 /autoptr/field-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/flags-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 10 /autoptr/flags-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/function-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 11 /autoptr/function-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/interface-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 12 /autoptr/interface-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/object-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 13 /autoptr/object-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/property-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 14 /autoptr/property-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/registered-type-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 15 /autoptr/registered-type-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/signal-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 16 /autoptr/signal-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/struct-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 17 /autoptr/struct-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/type-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 18 /autoptr/type-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/union-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 19 /autoptr/union-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/value-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 20 /autoptr/value-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/autoptr/vfunc-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 21 /autoptr/vfunc-info 694s # End of autoptr tests 694s # Start of auto tests 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/auto/arg-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 22 /auto/arg-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/auto/type-info/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 23 /auto/type-info 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6ENHE3/auto/function-invoker/.dirs/runtime 694s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 694s ok 24 /auto/function-invoker 694s # End of auto tests 694s TAP version 14 694s # random seed: R02Sbd4c5d83755bbdd20632ae6788d69adf 694s 1..8 694s # Start of thread tests 694s ok 1 /thread/private1 694s ok - glib/autoptr-girepository.test 694s # Running test: glib/private.test 695s ok 2 /thread/private2 695s # slow test /thread/private2 executed in 1.09 secs 695s ok 3 /thread/private3 695s ok 4 /thread/staticprivate1 695s ok 5 /thread/staticprivate2 695s ok 6 /thread/staticprivate3 696s ok 7 /thread/staticprivate4 696s # slow test /thread/staticprivate4 executed in 1.09 secs 696s ok 8 /thread/staticprivate5 696s # End of thread tests 696s ok - glib/private.test 696s # Running test: glib/tls-certificate.test 696s TAP version 14 696s # random seed: R02S20f829c6134184ea34d35677db8b5f85 696s 1..19 696s # Start of tls-certificate tests 696s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 696s ok 1 /tls-certificate/pem-parser 696s ok 2 /tls-certificate/pem-parser-handles-chain 696s ok 3 /tls-certificate/from_file 696s ok 4 /tls-certificate/from_files 696s ok 5 /tls-certificate/from_files_crlf 696s ok 6 /tls-certificate/from_files_pkcs8 696s ok 7 /tls-certificate/from_files_pkcs8enc 696s ok 8 /tls-certificate/list_from_file 696s ok 9 /tls-certificate/pkcs11-uri 696s ok 10 /tls-certificate/pkcs11-uri-unsupported 696s ok 11 /tls-certificate/from_pkcs12 696s ok 12 /tls-certificate/from_pkcs12_file 696s ok 13 /tls-certificate/not-valid-before 696s ok 14 /tls-certificate/not-valid-after 696s ok 15 /tls-certificate/subject-name 696s ok 16 /tls-certificate/issuer-name 696s ok 17 /tls-certificate/dns-names 696s ok 18 /tls-certificate/ip-addresses 696s ok 19 /tls-certificate/pem-parser-no-sentinel 696s # End of tls-certificate tests 696s TAP version 14 696s # random seed: R02S1df3f850aaf4c3226c91005d53c107f0 696s 1..4 696s # Start of gdbus tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-parser/.dirs/runtime 696s ok 1 /gdbus/introspection-parser 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-generate/.dirs/runtime 696s ok 2 /gdbus/introspection-generate 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-default-direction/.dirs/runtime 696s ok 3 /gdbus/introspection-default-direction 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/system-data2 696s ok - glib/tls-certificate.test 696s # Running test: glib/gdbus-introspection.test 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_1T4OE3/gdbus/introspection-extra-data/.dirs/runtime 696s ok 4 /gdbus/introspection-extra-data 696s # End of gdbus tests 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s TAP version 14 696s # random seed: R02S46ccb0e8317dfd526886d29c2bac4129 696s 1..24 696s # Start of gdbus tests 696s # Start of subscribe tests 696s # Start of conn tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/simple/.dirs/runtime 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 696s # Step 0: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s ok - glib/gdbus-introspection.test 696s # Running test: glib/gdbus-subscribe.test 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 1 /gdbus/subscribe/conn/simple 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 696s # Step 0: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: service 2 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: service 2 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 1 696s # Signal received from service 2 :1.2 696s # Signal received from service 2 :1.2 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Signal received from service 2 :1.2 696s # Signal received from service 2 :1.2 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/match_twice/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: (any) 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: (any) 696s # Path: (any) 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 3: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 4: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 3 /gdbus/subscribe/conn/match_twice 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 696s # Step 0: adding subscription 696s # Sender: :0.this.had.better.not.exist 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /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 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: org.gtk.Test.OwnedLater 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 3: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 5: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 6: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Step 7: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 5 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 696s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 696s # Step 0: adding subscription 696s # Sender: org.freedesktop.DBus 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # String argument 0: would I lie to you? 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Waiting for signal to reach message bus 696s # Step 3: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Signal received from message bus org.freedesktop.DBus 696s # Signal received from (unused) org.freedesktop.DBus via connection 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Immediately unsubscribing 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 696s # End of conn tests 696s # Start of proxy tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/simple/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 696s # Step 0: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 9 /gdbus/subscribe/proxy/simple 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 696s # Step 0: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: service 2 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: service 2 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: (any) 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: (any) 696s # Path: (any) 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 3: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 4: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 11 /gdbus/subscribe/proxy/match_twice 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 696s # Step 0: adding subscription 696s # Sender: :0.this.had.better.not.exist 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /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 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: org.gtk.Test.OwnedLater 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 3: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 5: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 6: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Step 7: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 5 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 696s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 696s # Step 0: adding subscription 696s # Sender: org.freedesktop.DBus 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # String argument 0: would I lie to you? 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Waiting for signal to reach message bus 696s # Step 3: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Signal received from message bus org.freedesktop.DBus 696s # Signal received from (unused) org.freedesktop.DBus via proxy 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 696s # End of proxy tests 696s # Start of parallel tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/simple/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 696s # Step 0: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 17 /gdbus/subscribe/parallel/simple 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 696s # Step 0: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: service 2 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: service 2 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 1 696s # Signal received from service 2 :1.2 696s # Signal received from service 2 :1.2 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Signal received from service 2 :1.2 696s # Signal received from service 2 :1.2 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: adding subscription 696s # Sender: (any) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: (any) 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: (any) 696s # Path: (any) 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Cannot subscribe via proxy: no bus name 696s # Waiting for AddMatch to be processed 696s # Step 3: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 4: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 4 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 696s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 19 /gdbus/subscribe/parallel/match_twice 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 696s # Step 0: adding subscription 696s # Sender: service :1.1 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 3: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 3 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 696s # Step 0: adding subscription 696s # Sender: :0.this.had.better.not.exist 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s ok - glib/gdbus-subscribe.test 696s # Running test: glib/file-enumerator.test 696s ok - glib/file-enumerator.test 696s # Running test: glib/gthash.test 696s ok - glib/gthash.test 696s # Running test: glib/refcount.test 696s # Executing: glib/refcount.test 696s ok - glib/refcount.test 696s # Running test: glib/strvbuilder.test 696s ok - glib/strvbuilder.test 696s # Running test: glib/live-g-file.test 696s # /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 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 2: adding subscription 696s # Sender: org.gtk.Test.OwnedLater 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 3: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 4: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 5: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Step 6: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Step 7: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 5 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 5 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via connection 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 7 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 696s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 696s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 696s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 696s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 696s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 696s # Step 0: adding subscription 696s # Sender: org.freedesktop.DBus 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 1: emitting signal 696s # Sender: attacker 696s # Destination: (broadcast) 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # String argument 0: would I lie to you? 696s # Waiting for signal to reach message bus 696s # Step 2: emitting signal 696s # Sender: attacker 696s # Destination: subscriber :1.0 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Waiting for signal to reach message bus 696s # Step 3: claiming bus name 696s # Name: org.gtk.Test.OwnedLater 696s # Owner: service 696s # Signal received from message bus org.freedesktop.DBus 696s # Signal received from (unused) org.freedesktop.DBus via connection 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Signal received from message bus org.freedesktop.DBus 696s # Signal received from (unused) org.freedesktop.DBus via proxy 696s # Path: /org/freedesktop/DBus 696s # Interface: org.freedesktop.DBus 696s # Member: NameOwnerChanged 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 696s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 696s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VOLOE3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # subscriber is :1.0 696s # service is :1.1 696s # service 2 is :1.2 696s # attacker is :1.3 696s # Waiting for AddMatch to be processed 696s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 696s # Step 0: claiming bus name 696s # Name: org.gtk.Test.AlreadyOwned 696s # Owner: service 696s # Step 1: adding subscription 696s # Sender: org.gtk.Test.AlreadyOwned 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: (any) 696s # String argument 0: (any) 696s # Flags: 0 696s # Subscribing via connection 696s # Immediately unsubscribing 696s # Subscribing via proxy 696s # Waiting for AddMatch to be processed 696s # Step 2: emitting signal 696s # Sender: service 696s # Destination: (broadcast) 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Waiting for signal to reach message bus 696s # Signal received from service :1.1 696s # Signal received from service :1.1 via proxy 696s # Path: /org/gtk/GDBus/ExampleInterface 696s # Interface: org.gtk.GDBus.ExampleInterface 696s # Member: Foo 696s # Argument 0: (not a string) 696s # Sent in step: 2 696s # Received Finished signal from subscriber :1.0 696s # Received Finished signal from service :1.1 696s # Received Finished signal from service 2 :1.2 696s # Received Finished signal from attacker :1.3 696s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 696s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 696s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 696s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 696s # End of parallel tests 696s # End of subscribe tests 696s # End of gdbus tests 696s TAP version 14 696s # random seed: R02S290ebfe923e103a36fa828426af12bd9 696s 1..1 696s # Start of file-enumerator tests 696s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 696s ok 1 /file-enumerator/close-on-dispose 696s # End of file-enumerator tests 696s TAP version 14 696s # random seed: R02Sf789916c91b5a404898f9730b146ce8a 696s 1..1 696s # Start of gthash tests 696s ok 1 /gthash/build-retrieve 696s # End of gthash tests 696s TAP version 14 696s # random seed: R02Sb2cce6f5353f7fd21e43f19d4b9f59af 696s 1..4 696s # Start of refcount tests 696s ok 1 /refcount/grefcount 696s ok 2 /refcount/gatomicrefcount 696s # Start of grefcount tests 696s ok 3 /refcount/grefcount/saturation 696s # End of grefcount tests 696s # Start of gatomicrefcount tests 696s ok 4 /refcount/gatomicrefcount/saturation 696s # End of gatomicrefcount tests 696s # End of refcount tests 696s TAP version 14 696s # random seed: R02S9202c3f4b5e88e7e7ab39c5ccabb3a48 696s 1..7 696s # Start of strvbuilder tests 696s ok 1 /strvbuilder/empty 696s ok 2 /strvbuilder/add 696s ok 3 /strvbuilder/addv 696s ok 4 /strvbuilder/add_many 696s ok 5 /strvbuilder/take 696s ok 6 /strvbuilder/ref 696s ok 7 /strvbuilder/unref_to_strv 696s # End of strvbuilder tests 696s TAP version 14 696s # random seed: R02S38397513ac9c936ba2b020b9107af372 696s 1..13 696s # Start of live-g-file tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/prep_clean_structure/.dirs/runtime 696s # Cleaning target testing structure in '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 696s ok 1 /live-g-file/prep_clean_structure 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/create_structure/.dirs/runtime 696s # 696s # Going to create testing structure in '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # Creating directory 'dir1'... 696s # Creating directory 'dir1/subdir'... 696s # Creating directory 'dir2'... 696s # Creating directory 'dir-target'... 696s # Creating directory 'dir_no-access'... 696s # Creating directory 'dir_no-write'... 696s # Creating file 'target-file'... 696s # Creating file 'normal_file'... 696s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 696s # Creating file 'executable_file'... 696s # Creating file 'private_file'... 696s # Creating file 'normal_file2'... 696s # Creating file 'readonly_file'... 696s # Creating file 'UTF_příliš z'... 696s # Creating directory 'dir_příliš z'... 696s # Creating symlink 'lost_symlink' --> 'nowhere'... 696s # Creating directory 'dir_hidden'... 696s # Creating file 'dir_hidden/.a-hidden-file'... 696s # Creating file 'dir_hidden/file-in-.hidden1'... 696s # Creating file 'dir_hidden/file-in-.hidden2'... 696s # Creating pattern file... 696s # done. 696s ok 2 /live-g-file/create_structure 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_initial_structure/.dirs/runtime 696s # Testing sample structure in '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # Testing file 'dir1'... 696s # Testing file 'dir1/subdir'... 696s # Testing file 'dir2'... 696s # Testing file 'dir-target'... 696s # Testing file 'dir_no-access'... 696s # Testing file 'dir_no-write'... 696s # Testing file 'target-file'... 696s # Testing file 'normal_file'... 696s # Testing file 'normal_file-symlink'... 696s # Testing file 'executable_file'... 696s # Testing file 'private_file'... 696s # Testing file 'normal_file2'... 696s # Testing file 'readonly_file'... 696s # Testing file 'UTF_příliš z'... 696s # Testing file 'dir_příliš z'... 696s # Testing file 'lost_symlink'... 696s # Testing file 'dir_hidden'... 696s # Testing file 'dir_hidden/.a-hidden-file'... 696s # Testing file 'dir_hidden/file-in-.hidden1'... 696s # Testing file 'dir_hidden/file-in-.hidden2'... 696s # Testing pattern file... 696s # read 65536 bytes, total = 65536 of 65536. 696s ok 3 /live-g-file/test_initial_structure 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_traverse_structure/.dirs/runtime 696s # Traversing through the sample structure in '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # Found file dir1, relative to root: dir1 696s # Found file subdir, relative to root: dir1/subdir 696s # Found file dir2, relative to root: dir2 696s # Found file dir-target, relative to root: dir-target 696s # Found file dir_no-access, relative to root: dir_no-access 696s # Found file dir_no-write, relative to root: dir_no-write 696s # Found file target-file, relative to root: target-file 696s # Found file normal_file, relative to root: normal_file 696s # Found file normal_file-symlink, relative to root: normal_file-symlink 696s # Found file executable_file, relative to root: executable_file 696s # Found file private_file, relative to root: private_file 696s # Found file normal_file2, relative to root: normal_file2 696s # Found file readonly_file, relative to root: readonly_file 696s # Found file UTF_příliš z, relative to root: UTF_příliš z 696s # Found file dir_příliš z, relative to root: dir_příliš z 696s # Found file lost_symlink, relative to root: lost_symlink 696s # Found file dir_hidden, relative to root: dir_hidden 696s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 696s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 696s # Found file .hidden, relative to root: dir_hidden/.hidden 696s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 696s # Found file pattern_file, relative to root: pattern_file 696s ok 4 /live-g-file/test_traverse_structure 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_enumerate/.dirs/runtime 696s # Test enumerate '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # Testing file 'dir_no-access' 696s # Testing file 'normal_file' 696s # Testing file 'normal_file-symlink' 696s # Testing file 'not_exists' 696s # Testing file 'not_exists' 696s # Testing file 'not_exists2' 696s # Testing file 'not_exists3' 696s # Testing file 'not_exists4' 696s # Testing file 'dir_no-execute/file' 696s ok 5 /live-g-file/test_enumerate 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_open/.dirs/runtime 696s # test_open: 'dir1' 696s # test_open: 'dir_no-access' 696s # test_open: 'target-file' 696s # test_open: 'normal_file-symlink' 696s # test_open: 'executable_file' 696s # test_open: 'private_file' 696s # test_open: 'readonly_file' 696s # test_open: 'UTF_příliš z' 696s # test_open: 'pattern_file' 696s # test_open: 'not_exists' 696s # test_open: 'dir_no-execute/file' 696s # test_open: 'lost_symlink' 696s ok 6 /live-g-file/test_open 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_create/.dirs/runtime 696s # test_create: 'dir1' 696s # error code 3 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir1”: Is a directory 696s # test_create: 'dir1/subdir' 696s # error code 3 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir1/subdir”: Is a directory 696s # test_create: 'dir2' 696s # error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir2”: File exists 696s # test_create: 'normal_file' 696s # error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/normal_file”: File exists 696s # test_create: 'executable_file' 696s # test_create: 'private_file' 696s # test_create: 'normal_file2' 696s # test_create: 'UTF_příliš z' 696s # error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/UTF_příliš z”: File exists 696s # test_create: 'dir_příliš z' 696s # error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_příliš z”: File exists 696s # test_create: 'pattern_file' 696s # test_create: 'not_exists2' 696s # test_create: 'not_exists3' 696s # test_create: 'not_exists4' 696s ok 7 /live-g-file/test_create 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_copy_move/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> 'dir-target' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> '.' 696s # res = 0, error code 2 = Target file exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> 'target-file' 696s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> 'not_exists' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir2' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> 'dir-target' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> '.' 696s # res = 0, error code 2 = Target file exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> 'target-file' 696s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/dir-target”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> 'not_exists' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> 'dir_no-access' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'dir-target' --> 'dir_no-write' 696s # res = 0, error code 25 = Can’t recursively copy directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/target-file”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/target-file”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'target-file' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> '.' 696s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/normal_file-symlink: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> 'target-file' 696s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 696s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 696s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 696s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/executable_file”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/executable_file”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'executable_file' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/private_file”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/private_file”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/private_file”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'private_file' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/normal_file2”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/normal_file2”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'normal_file2' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/UTF_příliš z”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> '.' 696s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/pattern_file”: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> 'target-file' 696s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/pattern_file”: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> 'not_exists' 696s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> 'dir_no-access' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'pattern_file' --> 'dir_no-write' 696s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'dir-target' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> '.' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'target-file' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'not_exists' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'dir_no-access' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'dir_no-write' 696s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists”: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'not_exists' --> 'dir-target' 696s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> 'dir-target' 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> '.' 696s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/lost_symlink: File exists 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> 'target-file' 696s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/target-file/lost_symlink: Not a directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> 'not_exists' 696s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 696s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 696s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 696s ok 8 /live-g-file/test_copy_move 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_delete/.dirs/runtime 696s # Deleting dir1, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir1 696s # result = 0, error = Error removing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir1: Directory not empty 696s # Deleting dir2, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir2 696s # result = 0, error = Error removing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir2: No such file or directory 696s # Deleting executable_file, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/executable_file 696s # result = 0, error = Error trashing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/executable_file: No such file or directory 696s # Deleting readonly_file, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/readonly_file 696s # Deleting dir_příliš z, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_příliš z 696s # Deleting not_exists, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists 696s # result = 0, error = Error removing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists: No such file or directory 696s # Deleting not_exists, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists 696s # result = 0, error = Error trashing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/not_exists: No such file or directory 696s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-execute/file 696s # result = 0, error = Error removing file /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/dir_no-execute/file: No such file or directory 696s # Deleting lost_symlink, path = /tmp/test_live-g-file_L9PXE3/testdir_live-g-file/lost_symlink 696s ok 9 /live-g-file/test_delete 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_make_directory_with_parents/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 10 /live-g-file/test_make_directory_with_parents 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/final_clean/.dirs/runtime 696s # Cleaning target testing structure in '/tmp/test_live-g-file_L9PXE3/testdir_live-g-file'... 696s # deleting 'dir1' 696s # deleting 'subdir' 696s # deleting 'dir-target' 696s # deleting 'dir2' 696s # deleting 'target-file' 696s # deleting 'normal_file-symlink' 696s # deleting 'pattern_file' 696s # deleting 'executable_file' 696s # deleting 'private_file' 696s # deleting 'normal_file2' 696s # deleting 'UTF_příliš z' 696s # deleting 'lost_symlink' 696s # deleting 'dir_no-access' 696s # deleting 'dir_no-write' 696s # deleting 'target-file' 696s # deleting 'normal_file' 696s # deleting 'normal_file-symlink' 696s # deleting 'executable_file~' 696s # deleting 'private_file' 696s # deleting 'normal_file2~' 696s # deleting 'a' 696s # deleting 'UTF_příliš z' 696s # deleting 'dir_hidden' 696s # deleting '.a-hidden-file' 696s # deleting 'file-in-.hidden1' 696s # deleting '.hidden' 696s # deleting 'file-in-.hidden2' 696s # deleting 'pattern_file' 696s # deleting 'executable_file' 696s # deleting 'normal_file2' 696s # deleting 'not_exists2' 696s # deleting 'not_exists3' 696s # deleting 'not_exists4' 696s ok 11 /live-g-file/final_clean 696s # Start of test_unix_is_mountpoint tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 696s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_L9PXE3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 696s ok 13 /live-g-file/test_unix_is_mountpoint/proc 696s # End of test_unix_is_mountpoint tests 696s # End of live-g-file tests 696s TAP version 14 696s # random seed: R02S87e9abd1561c0a36d2690850847a3209 696s 1..27 696s # Start of fileutils tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/paths/.dirs/runtime 696s ok 1 /fileutils/paths 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/build-path/.dirs/runtime 696s ok 2 /fileutils/build-path 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/build-pathv/.dirs/runtime 696s ok 3 /fileutils/build-pathv 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/build-filename/.dirs/runtime 696s ok 4 /fileutils/build-filename 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/build-filenamev/.dirs/runtime 696s ok 5 /fileutils/build-filenamev 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Checking g_mkdir_with_parents() in subdir ./hum/ 696s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 696s ok 6 /fileutils/mkdir-with-parents 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/mkdir-with-parents-permission/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 7 /fileutils/mkdir-with-parents-permission 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/format-size-for-display/.dirs/runtime 696s ok 8 /fileutils/format-size-for-display 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/errors/.dirs/runtime 696s ok 9 /fileutils/errors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/basename/.dirs/runtime 696s ok 10 /fileutils/basename 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/get-basename/.dirs/runtime 696s ok 11 /fileutils/get-basename 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/dirname/.dirs/runtime 696s ok 12 /fileutils/dirname 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/dir-make-tmp/.dirs/runtime 696s ok 13 /fileutils/dir-make-tmp 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/file-open-tmp/.dirs/runtime 696s ok 14 /fileutils/file-open-tmp 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/file-test/.dirs/runtime 696s ok 15 /fileutils/file-test 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/mkstemp/.dirs/runtime 696s ok 16 /fileutils/mkstemp 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/mkdtemp/.dirs/runtime 696s ok 17 /fileutils/mkdtemp 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/get-contents/.dirs/runtime 696s ok 18 /fileutils/get-contents 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/get-contents-large-file/.dirs/runtime 696s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/set-contents/.dirs/runtime 696s ok 20 /fileutils/set-contents 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/.dirs/runtime 696s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 696s # Flags 0 and test 0 696s # Flags 0 and test 1 696s # Flags 0 and test 2 696s # Flags 0 and test 3 696s # Flags 0 and test 4 696s # Flags 0 and test 5 696s # Flags 0 and test 6 696s # Flags 1 and test 0 696s # Flags 1 and test 1 696s # Flags 1 and test 2 696s # Flags 1 and test 3 696s # Flags 1 and test 4 696s # Flags 1 and test 5 696s # Flags 1 and test 6 696s # Flags 2 and test 0 696s # Flags 2 and test 1 696s # Flags 2 and test 2 696s # Flags 2 and test 3 696s # Flags 2 and test 4 696s # Flags 2 and test 5 696s # Flags 2 and test 6 696s # Flags 3 and test 0 696s # Flags 3 and test 1 696s # Flags 3 and test 2 696s # Flags 3 and test 3 696s # Flags 3 and test 4 696s # Flags 3 and test 5 696s # Flags 3 and test 6 696s # Flags 4 and test 0 696s # Flags 4 and test 1 696s # Flags 4 and test 2 696s # Flags 4 and test 3 696s # Flags 4 and test 4 696s # Flags 4 and test 5 696s # Flags 4 and test 6 696s # Flags 5 and test 0 696s # Flags 5 and test 1 696s # Flags 5 and test 2 696s # Flags 5 and test 3 696s # Flags 5 and test 4 696s # Flags 5 and test 5 696s # Flags 5 and test 6 696s # Flags 6 and test 0 696s # Flags 6 and test 1 696s # Flags 6 and test 2 696s # Flags 6 and test 3 696s # Flags 6 and test 4 696s # Flags 6 and test 5 696s # Flags 6 and test 6 696s ok 21 /fileutils/set-contents-full 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/read-link/.dirs/runtime 696s ok 22 /fileutils/read-link 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/stdio-wrappers/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 23 /fileutils/stdio-wrappers 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/fopen-modes/.dirs/runtime 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 696s # Testing fopen() mode 'w' 696s # Testing fopen() mode 'r' 696s # Testing fopen() mode 'a' 696s # Testing fopen() mode 'w+' 696s # Testing fopen() mode 'r+' 696s # Testing fopen() mode 'a+' 696s # Testing fopen() mode 'wb' 696s # Testing fopen() mode 'rb' 696s # Testing fopen() mode 'ab' 696s # Testing fopen() mode 'w+b' 696s # Testing fopen() mode 'r+b' 696s # Testing fopen() mode 'a+b' 696s # Testing fopen() mode 'wb+' 696s # Testing fopen() mode 'rb+' 696s # Testing fopen() mode 'ab+' 696s # Testing fopen() mode 'we' 696s # Testing fopen() mode 're' 696s # Testing fopen() mode 'ae' 696s # Testing fopen() mode 'w+e' 696s # Testing fopen() mode 'r+e' 696s # Testing fopen() mode 'a+e' 696s # Testing fopen() mode 'wbe' 696s # Testing fopen() mode 'rbe' 696s # Testing fopen() mode 'abe' 696s # Testing fopen() mode 'w+be' 696s # Testing fopen() mode 'r+be' 696s # Testing fopen() mode 'a+be' 696s # Testing fopen() mode 'wb+e' 696s # Testing fopen() mode 'rb+e' 696s # Testing fopen() mode 'ab+e' 696s # Testing fopen() mode 'web' 696s # Testing fopen() mode 'reb' 696s # Testing fopen() mode 'aeb' 696s # Testing fopen() mode 'w+eb' 696s # Testing fopen() mode 'r+eb' 696s # Testing fopen() mode 'a+eb' 696s # Testing fopen() mode 'web+' 696s # Testing fopen() mode 'reb+' 696s # Testing fopen() mode 'aeb+' 696s ok 24 /fileutils/fopen-modes 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/clear-fd/.dirs/runtime 696s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 696s # Will be closed by autocleanup: 3, -42 696s # Testing error handling 696s ok 25 /fileutils/clear-fd 696s # Start of set-contents-full tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-file/.dirs/runtime 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 696s ok 26 /fileutils/set-contents-full/read-only-file 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_GS7WE3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 696s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 696s # Flags 0 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 1 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 2 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 3 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 4 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 5 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s # Flags 6 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 27 /fileutils/set-contents-full/read-only-directory 696s # End of set-contents-full tests 696s # Start of clear-fd tests 696s # Start of subprocess tests 696s # End of subprocess tests 696s # End of clear-fd tests 696s # End of fileutils tests 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-NF5VE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-GRQVE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-SIQVE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-V74VE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-S23VE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-XA4VE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3/glib-file-set-contents-full-rodir-HH6VE3: Directory not empty 696s Unable to clean up temporary directory /tmp/test_fileutils_GS7WE3: Directory not empty 696s TAP version 14 696s # random seed: R02Sbeec94a5bfc96ea9ba6cf0d4a3cecf42 696s 1..9 696s # Start of gdbus tests 696s # Start of connection tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/bus-failure/.dirs/runtime 696s ok 1 /gdbus/connection/bus-failure 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/basic/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 2 /gdbus/connection/basic 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/life-cycle/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 3 /gdbus/connection/life-cycle 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/send/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 4 /gdbus/connection/send 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signals/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 5 /gdbus/connection/signals 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/signal-match-rules/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 6 /gdbus/connection/signal-match-rules 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/filter/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 7 /gdbus/connection/filter 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/serials/.dirs/runtime 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 8 /gdbus/connection/serials 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_JWNVE3/gdbus/connection/cancel/.dirs/runtime 696s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 696s ok 9 /gdbus/connection/cancel 696s # End of connection tests 696s # End of gdbus tests 696s TAP version 14 696s # random seed: R02Sba5c207c5abba4d3c90fd904d76245eb 696s 1..1 696s # Start of gobject tests 696s # Start of refcount tests 696s # init 0x2aa30317490 696s # 696s # init 0x2aa3030f580 696s # 696s ok - glib/live-g-file.test 696s # Running test: glib/fileutils.test 696s ok - glib/fileutils.test 696s # Running test: glib/gdbus-connection.test 696s ok - glib/gdbus-connection.test 696s # Running test: glib/signals-refcount3.test 701s # Executing: glib/signals-refcount3.test 701s # dispose 0x2aa30317490! 701s # 701s # dispose 0x2aa3030f580! 701s # 701s ok 1 /gobject/refcount/signals 701s # slow test /gobject/refcount/signals executed in 5.00 secs 701s # End of refcount tests 701s # End of gobject tests 701s TAP version 14 701s # random seed: R02Sd729d6194c2d933249f5181c22705b69 701s 1..4 701s # Start of dump tests 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_4JXUE3/dump/empty-file/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_4JXUE3/dump/empty-file/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_4JXUE3/dump/empty-file/.dirs/runtime 701s ok 1 /dump/empty-file 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_4JXUE3/dump/missing-get-type/.dirs/runtime 701s Invalid GType function: 'does_not_exist_get_type' 701s ok - glib/signals-refcount3.test 701s # Running test: glib/dump.test 701s ok 2 /dump/missing-get-type 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_4JXUE3/dump/missing-quark/.dirs/runtime 701s Invalid error quark function: 'does_not_exist_error' 701s ok 3 /dump/missing-quark 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_4JXUE3/dump/basic/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_4JXUE3/dump/basic/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_4JXUE3/dump/basic/.dirs/system-config1:/tmp/test_dump_4JXUE3/dump/basic/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_4JXUE3/dump/basic/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_4JXUE3/dump/basic/.dirs/system-data1:/tmp/test_dump_4JXUE3/dump/basic/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_4JXUE3/dump/basic/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_4JXUE3/dump/basic/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_4JXUE3/dump/basic/.dirs/runtime 701s ok 4 /dump/basic 701s # End of dump tests 701s TAP version 14 701s # random seed: R02S4d24636b8c51cc43ca51d65ece96bcac 701s 1..36 701s # Start of gtask tests 701s ok 1 /gtask/basic 701s ok 2 /gtask/error 701s ok 3 /gtask/error-literal 701s ok 4 /gtask/error-literal-from-variable 701s ok 5 /gtask/return-from-same-iteration 701s ok 6 /gtask/return-from-toplevel 701s ok 7 /gtask/return-from-anon-thread 701s ok 8 /gtask/return-from-wrong-thread 701s ok 9 /gtask/no-callback 701s ok 10 /gtask/report-error 701s ok 11 /gtask/priority 701s ok 12 /gtask/name 701s ok 13 /gtask/static-name 701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 701s ok - glib/dump.test 701s # Running test: glib/task.test 701s ok 14 /gtask/asynchronous-cancellation 701s ok 15 /gtask/check-cancellable 701s ok 16 /gtask/return-if-cancelled 701s ok 17 /gtask/run-in-thread 701s ok 18 /gtask/run-in-thread-sync 701s ok 19 /gtask/run-in-thread-priority 702s ok 20 /gtask/run-in-thread-nested 702s ok 21 /gtask/run-in-thread-overflow 702s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 702s # GLib-GIO-DEBUG: GTask 0x2aa2e4edff0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 702s # GLib-GIO-DEBUG: GTask 0x2aa2e4ee180 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 702s ok 22 /gtask/return-on-cancel 702s # GLib-GIO-DEBUG: GTask 0x2aa2e4844c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 702s ok 23 /gtask/return-on-cancel-sync 702s # GLib-GIO-DEBUG: GTask 0x2aa2e484580 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 702s ok 24 /gtask/return-on-cancel-atomic 702s ok 25 /gtask/return-pointer 702s ok 26 /gtask/return-value 702s ok 27 /gtask/return-prefixed-error 702s ok 28 /gtask/object-keepalive 702s ok 29 /gtask/legacy-error 702s ok 30 /gtask/finalize-without-return 702s # Start of name tests 702s ok 31 /gtask/name/macro-wrapper 702s # End of name tests 702s # Start of return tests 702s ok 32 /gtask/return/error-first 702s ok 33 /gtask/return/value-first 702s # Start of in-idle tests 702s ok 34 /gtask/return/in-idle/error-first 702s ok 35 /gtask/return/in-idle/value-first 702s # End of in-idle tests 702s # End of return tests 702s # Start of attach-source tests 702s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 702s ok 36 /gtask/attach-source/set-name 702s # End of attach-source tests 702s # End of gtask tests 702s TAP version 14 702s # random seed: R02Se39b98b07aa792aae68271c1be3e52e6 702s 1..3 702s # Start of hostutils tests 702s ok 1 /hostutils/to_ascii 702s ok 2 /hostutils/to_unicode 702s ok 3 /hostutils/is_ip_addr 702s # End of hostutils tests 702s TAP version 14 702s # random seed: R02S827e55c4870f848d8567d025cdf909c3 702s 1..7 702s # Start of appinfo tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/runtime 702s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 702s ok 1 /appinfo/dbusappinfo 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/runtime 702s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Documents 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/config 702s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 702s # fake-document-portal cancelled 702s ok 2 /appinfo/flatpak-doc-export 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/runtime 702s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Documents 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/config 702s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 702s # fake-document-portal cancelled 702s ok 3 /appinfo/flatpak-missing-doc-export 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/runtime 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Desktop 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/config 702s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 702s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 702s # Response emitted 702s # fake-desktop-portal cancelled 702s ok 4 /appinfo/portal-open-file 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/runtime 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Desktop 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/config 702s # Got open file request for http://example.com 702s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 702s # Response emitted 702s # fake-desktop-portal cancelled 702s ok 5 /appinfo/portal-open-uri 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/runtime 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Desktop 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/config 702s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 702s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio571733330 702s # Response emitted 702s # fake-desktop-portal cancelled 702s ok 6 /appinfo/portal-open-file-async 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/runtime 702s # Acquired a message bus connection 702s # Acquired the name org.freedesktop.portal.Desktop 702s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_FYBVE3/appinfo/portal-open-uri-async/.dirs/config 702s # Got open file request for http://example.com 702s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1777736419 702s # Response emitted 702s # fake-desktop-portal cancelled 702s ok 7 /appinfo/portal-open-uri-async 702s # End of appinfo tests 702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 702s TAP version 14 702s # random seed: R02Se78254aa0fbdc32ec1aadb40e5f9c40a 702s 1..3 702s # Start of module tests 702s ok 1 /module/basics 702s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 702s ok 2 /module/invalid-libtool-archive 702s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 702s ok 3 /module/local-binding 702s # End of module tests 702s TAP version 14 702s # random seed: R02Sbc718969e91ba6d1223db7621d126fd8 702s 1..7 702s # Start of data-output-stream tests 702s ok 1 /data-output-stream/basic 702s ok 2 /data-output-stream/write-lines-LF 702s ok 3 /data-output-stream/write-lines-CR 702s ok 4 /data-output-stream/write-lines-CR-LF 702s ok 5 /data-output-stream/write-int 702s ok 6 /data-output-stream/seek 702s ok 7 /data-output-stream/truncate 702s # End of data-output-stream tests 702s TAP version 14 702s # random seed: R02S7a4d742893f21a766b957f43d6fc867b 702s 1..2 702s # Start of gtask tests 702s # 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. 702s ok 1 /gtask/name 702s # Start of name tests 702s # 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. 702s ok 2 /gtask/name/macro-wrapper 702s # End of name tests 702s # End of gtask tests 702s TAP version 14 702s # random seed: R02Sbac012e1e60c1072a71d6d474a658b17 702s 1..2 702s # Start of gdbus tests 702s # Start of peer-object-manager tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/normal/.dirs/runtime 702s ok 1 /gdbus/peer-object-manager/normal 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_3M7TE3/gdbus/peer-object-manager/root/.dirs/runtime 702s ok 2 /gdbus/peer-object-manager/root 702s # End of peer-object-manager tests 702s # End of gdbus tests 702s TAP version 14 702s # random seed: R02S1b21810cdf87eb2d14e0ed08443cb8af 702s 1..6 702s # Start of pollable tests 702s ok 1 /pollable/converter 702s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 702s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0c21d880 and GSocketClientAsyncConnectData 0x2aa0c21f700 702s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 702s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 702s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0c22b210 for GSocketClientAsyncConnectData 0x2aa0c21f700 702s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 702s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 702s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 702s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 702s ok 2 /pollable/socket 702s # Start of unix tests 702s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 702s ok 3 /pollable/unix/pipe 702s # /pollable/unix/pty summary: Test that PTYs are considered pollable 702s ok 4 /pollable/unix/pty 702s # /pollable/unix/file summary: Test that regular files are not considered pollable 702s ok 5 /pollable/unix/file 702s # /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 702s ok 6 /pollable/unix/nulldev 702s # End of unix tests 702s # End of pollable tests 702s TAP version 14 702s # random seed: R02S22be8edf2d560d6b45e9801fca2960fe 702s 1..1 702s # Start of assert tests 702s ok 1 /assert/finalize_object 702s # Start of finalize_object tests 702s # Start of subprocess tests 702s # End of subprocess tests 702s # End of finalize_object tests 702s # End of assert tests 702s TAP version 14 702s # random seed: R02S9257de1c50f2568fc2a9dc7de8039997 702s 1..2 702s # Start of properties tests 702s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 702s ok 1 /properties/introspection 702s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 702s ok 2 /properties/collision 702s # End of properties tests 702s TAP version 14 702s # random seed: R02S3ea5e5cd8dfbe20231eb089b56a8b229 702s 1..84 702s # Start of gsubprocess tests 702s ok 1 /gsubprocess/noop 702s ok 2 /gsubprocess/noop-all-to-null 702s ok 3 /gsubprocess/noop-no-wait 702s ok 4 /gsubprocess/noop-stdin-inherit 702s ok 5 /gsubprocess/search-path 702s ok 6 /gsubprocess/search-path-from-envp 702s ok - glib/task.test 702s # Running test: glib/hostutils.test 702s ok - glib/hostutils.test 702s # Running test: glib/dbus-appinfo.test 702s ok - glib/dbus-appinfo.test 702s # Running test: glib/module-test-plugin.test 702s ok - glib/module-test-plugin.test 702s # Running test: glib/data-output-stream.test 702s ok - glib/data-output-stream.test 702s # Running test: glib/cxx-20.test 702s ok - glib/cxx-20.test 702s # Running test: glib/gdbus-peer-object-manager.test 702s ok - glib/gdbus-peer-object-manager.test 702s # Running test: glib/pollable.test 702s ok - glib/pollable.test 702s # Running test: glib/testing.test 702s ok - glib/testing.test 702s # Running test: glib/properties-introspection.test 702s ok - glib/properties-introspection.test 702s # Running test: glib/gsubprocess.test 705s ok 7 /gsubprocess/signal 705s # slow test /gsubprocess/signal executed in 2.81 secs 705s ok 8 /gsubprocess/exit1 705s ok 9 /gsubprocess/echo1 705s ok 10 /gsubprocess/echo-merged 705s ok 11 /gsubprocess/cat-utf8 706s # Executing: glib/gsubprocess.test 706s ok 12 /gsubprocess/cat-eof 706s # slow test /gsubprocess/cat-eof executed in 1.00 secs 709s ok 13 /gsubprocess/multi1 709s # slow test /gsubprocess/multi1 executed in 3.01 secs 709s ok 14 /gsubprocess/communicate 711s # Executing: glib/gsubprocess.test 712s ok 15 /gsubprocess/terminate 712s # slow test /gsubprocess/terminate executed in 2.98 secs 712s ok 16 /gsubprocess/fail-initialization 712s ok 17 /gsubprocess/env 712s ok 18 /gsubprocess/cwd 712s ok 19 /gsubprocess/launcher-close 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 712s ok 20 /gsubprocess/stdout-file 712s ok 21 /gsubprocess/stdout-fd 712s ok 22 /gsubprocess/child-setup 712s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 712s ok 23 /gsubprocess/launcher-environment 712s # Start of exit1 tests 712s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 712s ok 24 /gsubprocess/exit1/cancel 712s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 712s ok 25 /gsubprocess/exit1/cancel_in_cb 712s # End of exit1 tests 712s # Start of communicate tests 712s ok 26 /gsubprocess/communicate/cancelled 712s ok 27 /gsubprocess/communicate/async 712s ok 28 /gsubprocess/communicate/utf8 712s # hello world 712s ok 29 /gsubprocess/communicate/no-pipes 712s ok 30 /gsubprocess/communicate/separate-stderr 712s ok 31 /gsubprocess/communicate/stdout-only 712s # hello world 712s ok 32 /gsubprocess/communicate/stderr-only 712s ok 33 /gsubprocess/communicate/stdout-silence 712s ok 34 /gsubprocess/communicate/nothing 712s # Start of async tests 712s ok 35 /gsubprocess/communicate/async/cancelled 712s # hello world 712s ok 36 /gsubprocess/communicate/async/no-pipes 712s ok 37 /gsubprocess/communicate/async/separate-stderr 712s ok 38 /gsubprocess/communicate/async/stdout-only 712s # hello world 712s ok 39 /gsubprocess/communicate/async/stderr-only 712s ok 40 /gsubprocess/communicate/async/stdout-silence 712s # Start of cancelled tests 712s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 712s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 712s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 712s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 712s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 712s # End of cancelled tests 712s # End of async tests 712s # Start of utf8 tests 712s ok 46 /gsubprocess/communicate/utf8/cancelled 712s ok 47 /gsubprocess/communicate/utf8/async 712s # hello world 712s ok 48 /gsubprocess/communicate/utf8/no-pipes 712s ok 49 /gsubprocess/communicate/utf8/separate-stderr 712s ok 50 /gsubprocess/communicate/utf8/stdout-only 712s # hello world 712s ok 51 /gsubprocess/communicate/utf8/stderr-only 712s ok 52 /gsubprocess/communicate/utf8/stdout-silence 712s ok 53 /gsubprocess/communicate/utf8/invalid 712s # Start of async tests 712s ok 54 /gsubprocess/communicate/utf8/async/cancelled 712s # hello world 712s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 712s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 712s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 712s # hello world 712s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 712s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 712s ok 60 /gsubprocess/communicate/utf8/async/invalid 712s # Start of cancelled tests 712s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 712s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 712s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 712s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 712s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 712s # End of cancelled tests 712s # End of async tests 712s # Start of cancelled tests 712s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 712s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 712s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 712s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 712s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 712s # End of cancelled tests 712s # End of utf8 tests 712s # Start of cancelled tests 712s ok 71 /gsubprocess/communicate/cancelled/no-pipes 712s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 712s ok 73 /gsubprocess/communicate/cancelled/stdout-only 712s ok 74 /gsubprocess/communicate/cancelled/stderr-only 712s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 712s # End of cancelled tests 712s # End of communicate tests 712s # Start of env tests 712s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 712s ok 76 /gsubprocess/env/inherit 712s # End of env tests 712s # Start of pass-fd tests 712s ok 77 /gsubprocess/pass-fd/basic 712s ok 78 /gsubprocess/pass-fd/empty-child-setup 712s ok 79 /gsubprocess/pass-fd/inherit-fds 712s # End of pass-fd tests 712s # Start of fd-conflation tests 712s ok 80 /gsubprocess/fd-conflation/basic 712s ok 81 /gsubprocess/fd-conflation/empty-child-setup 712s ok 82 /gsubprocess/fd-conflation/inherit-fds 712s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 712s # End of fd-conflation tests 712s # Start of exit-status tests 712s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 712s ok 84 /gsubprocess/exit-status/trapped 712s # End of exit-status tests 712s # End of gsubprocess tests 712s TAP version 14 712s # random seed: R02Sce4d03cfd4b8fee6d74150c4054b78f5 712s 1..1 712s # Start of gobject tests 712s # Start of refcount tests 712s # init 0x2aa0a087490 712s # 712s # init 0x2aa0a07f580 712s # 712s ok - glib/gsubprocess.test 712s # Running test: glib/signals-refcount4.test 716s # Executing: glib/signals-refcount4.test 717s # dispose 0x2aa0a087490! 717s # 717s # dispose 0x2aa0a07f580! 717s # 717s ok 1 /gobject/refcount/signals 717s # slow test /gobject/refcount/signals executed in 5.00 secs 717s # End of refcount tests 717s # End of gobject tests 717s ok - glib/signals-refcount4.test 717s # Running test: glib/gdbus-message.test 717s TAP version 14 717s # random seed: R02S251ab132e814abc202a92feb22f3aad1 717s 1..3 717s # Start of gdbus tests 717s # Start of message tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_138VE3/gdbus/message/lock/.dirs/runtime 717s ok 1 /gdbus/message/lock 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_138VE3/gdbus/message/copy/.dirs/runtime 717s ok 2 /gdbus/message/copy 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_138VE3/gdbus/message/bytes-needed/.dirs/runtime 717s # Vector: 0 717s # Vector: 1 717s # Vector: 2 717s # Vector: 3 717s # Vector: 4 717s # Vector: 5 717s ok 3 /gdbus/message/bytes-needed 717s # End of message tests 717s # End of gdbus tests 717s ok - glib/gdbus-message.test 717s TAP version 14 717s # random seed: R02S490644a9d686538fcb0867d58919b341 717s 1..2 717s # Start of atomic tests 717s ok 1 /atomic/types 717s # Running test: glib/atomic-c-99.test 717s ok 2 /atomic/threaded 717s # End of atomic tests 717s TAP version 14 717s # random seed: R02S62eae662e812492ed2155cb2abea5530 717s 1..21 717s # Start of gresolver tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/invalid-header/.dirs/runtime 717s ok 1 /gresolver/invalid-header 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/record-ownership/.dirs/runtime 717s ok 2 /gresolver/record-ownership 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/unknown-record-type/.dirs/runtime 717s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 717s ok 3 /gresolver/unknown-record-type 717s # Start of mx tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/valid/.dirs/runtime 717s ok 4 /gresolver/mx/valid 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/.dirs/runtime 717s ok 5 /gresolver/mx/invalid 717s # Start of invalid tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short/.dirs/runtime 717s ok 6 /gresolver/mx/invalid/too-short 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/mx/invalid/too-short2/.dirs/runtime 717s ok 7 /gresolver/mx/invalid/too-short2 717s # End of invalid tests 717s # End of mx tests 717s # Start of ns tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/valid/.dirs/runtime 717s ok 8 /gresolver/ns/valid 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/ns/invalid/.dirs/runtime 717s ok 9 /gresolver/ns/invalid 717s # End of ns tests 717s # Start of soa tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/valid/.dirs/runtime 717s ok 10 /gresolver/soa/valid 717s # Start of invalid tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/mname/.dirs/runtime 717s ok 11 /gresolver/soa/invalid/mname 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/rname/.dirs/runtime 717s ok 12 /gresolver/soa/invalid/rname 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/soa/invalid/too-short/.dirs/runtime 717s ok 13 /gresolver/soa/invalid/too-short 717s # End of invalid tests 717s # End of soa tests 717s # Start of srv tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/valid/.dirs/runtime 717s ok 14 /gresolver/srv/valid 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/.dirs/runtime 717s ok 15 /gresolver/srv/invalid 717s # Start of invalid tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short/.dirs/runtime 717s ok 16 /gresolver/srv/invalid/too-short 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/srv/invalid/too-short2/.dirs/runtime 717s ok 17 /gresolver/srv/invalid/too-short2 717s # End of invalid tests 717s # End of srv tests 717s # Start of txt tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/.dirs/runtime 717s ok 18 /gresolver/txt/valid 717s # Start of valid tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/valid/multiple-strings/.dirs/runtime 717s ok 19 /gresolver/txt/valid/multiple-strings 717s # End of valid tests 717s # Start of invalid tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/config 717s ok - glib/atomic-c-99.test 717s # Running test: glib/resolver-parsing.test 717s ok - glib/resolver-parsing.test 717s # Running test: glib/search-utils.test 717s ok - glib/search-utils.test 717s # Running test: glib/srvtarget.test 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/empty/.dirs/runtime 717s ok 20 /gresolver/txt/invalid/empty 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6S7UE3/gresolver/txt/invalid/overflow/.dirs/runtime 717s ok 21 /gresolver/txt/invalid/overflow 717s # End of invalid tests 717s # End of txt tests 717s # End of gresolver tests 717s TAP version 14 717s # random seed: R02Se72c91a8d11e63b6bca594ea9c36cdda 717s # GLib-DEBUG: Current user locale: C.UTF-8 717s 1..6 717s # Start of search tests 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 717s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 717s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 717s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 717s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 717s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 717s ok 1 /search/basic 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 717s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 717s # GLib-DEBUG: 'ele' - 'élève' should match: OK 717s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 717s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 717s ok 2 /search/composed 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 717s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 717s ok 3 /search/decomposed 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 717s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 717s ok 4 /search/turkish 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 717s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 717s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 717s ok 5 /search/c_locale_unicode 717s # GLib-DEBUG: Started 717s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 717s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 717s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 717s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 717s ok 6 /search/multi_words 717s # End of search tests 717s TAP version 14 717s # random seed: R02S6f7dba597f28dd6cc0c117beb8e9aac0 717s 1..1 717s # Start of srvtarget tests 718s ok 1 /srvtarget/srv-target-ordering 718s # slow test /srvtarget/srv-target-ordering executed in 0.54 secs 718s # End of srvtarget tests 718s ok - glib/srvtarget.test 718s # Running test: glib/power-profile-monitor.test 718s TAP version 14 718s # random seed: R02S066c962172b9cec52e542d8a18a10427 718s ok - glib/power-profile-monitor.test 718s # Running test: glib/base64.test 718s 1..1 718s # Start of power-profile-monitor tests 718s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 718s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 718s ok 1 /power-profile-monitor/default 718s # End of power-profile-monitor tests 718s TAP version 14 718s # random seed: R02Sdb46a420cc7c78e591c8c4d804a1d0c0 718s 1..28 718s # Start of base64 tests 718s ok 1 /base64/encode 718s ok 2 /base64/decode 718s ok 3 /base64/decode-inplace 718s ok 4 /base64/encode-decode 718s # Start of full tests 718s ok 5 /base64/full/1 718s ok 6 /base64/full/2 718s ok 7 /base64/full/3 718s ok 8 /base64/full/4 718s # End of full tests 718s # Start of encode tests 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 718s ok - glib/base64.test 718s # Running test: glib/throws.test 718s ok - glib/throws.test 718s # Running test: glib/gdbus-bz627724.test 718s ok 9 /base64/encode/empty 718s # Start of incremental tests 718s # Start of small-block tests 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 10 /base64/encode/incremental/small-block/1 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 11 /base64/encode/incremental/small-block/2 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 12 /base64/encode/incremental/small-block/3 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 13 /base64/encode/incremental/small-block/4 718s # End of small-block tests 718s # End of incremental tests 718s # End of encode tests 718s # Start of incremental tests 718s # Start of nobreak tests 718s ok 14 /base64/incremental/nobreak/1 718s ok 15 /base64/incremental/nobreak/2 718s ok 16 /base64/incremental/nobreak/3 718s ok 17 /base64/incremental/nobreak/4-a 718s ok 18 /base64/incremental/nobreak/4-b 718s ok 19 /base64/incremental/nobreak/4-c 718s # End of nobreak tests 718s # Start of break tests 718s ok 20 /base64/incremental/break/1 718s ok 21 /base64/incremental/break/2 718s ok 22 /base64/incremental/break/3 718s # End of break tests 718s # Start of smallblock tests 718s ok 23 /base64/incremental/smallblock/1 718s ok 24 /base64/incremental/smallblock/2 718s ok 25 /base64/incremental/smallblock/3 718s ok 26 /base64/incremental/smallblock/4 718s # End of smallblock tests 718s # End of incremental tests 718s # Start of decode tests 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 718s ok 27 /base64/decode/empty 718s # End of decode tests 718s # Start of encode-decode tests 718s # Vector 0: 718s # Vector 1: f 718s # Vector 2: fo 718s # Vector 3: foo 718s # Vector 4: foob 718s # Vector 5: fooba 718s # Vector 6: foobar 718s ok 28 /base64/encode-decode/rfc4648 718s # End of encode-decode tests 718s # End of base64 tests 718s TAP version 14 718s # random seed: R02S361f358a44e3c27270abe4e64b5a6302 718s 1..3 718s # Start of throws tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_K84HE3/throws/invoke-gerror/.dirs/runtime 718s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 718s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 718s ok 1 /throws/invoke-gerror 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_K84HE3/throws/vfunc-can-throw-gerror/.dirs/runtime 718s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 718s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 718s ok 2 /throws/vfunc-can-throw-gerror 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_K84HE3/throws/callback-can-throw-gerror/.dirs/runtime 718s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 718s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 718s ok 3 /throws/callback-can-throw-gerror 718s # End of throws tests 718s TAP version 14 718s # random seed: R02S6907ad1ca6d9052b7381761fd4b2f8d8 718s 1..1 718s # Start of gdbus tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_BF3HE3/gdbus/bz627724/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 1 /gdbus/bz627724 718s # End of gdbus tests 718s TAP version 14 718s # random seed: R02S34c9528fff637e5979c26f58c6fed29e 718s 1..10 718s # Start of gdbus tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/validate-names/.dirs/runtime 718s ok 1 /gdbus/validate-names 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/cache 718s ok - glib/gdbus-bz627724.test 718s # Running test: glib/gdbus-names.test 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-own-name/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 2 /gdbus/bus-own-name 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 3 /gdbus/bus-watch-name 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 718s ok - glib/gdbus-names.test 718s # Running test: glib/g-file-info-filesystem-readonly.test 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 4 /gdbus/bus-watch-name-auto-start 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s dbus-daemon[14206]: [session uid=1000 pid=14206 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14197 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 718s # Acquired a message bus connection 718s dbus-daemon[14206]: [session uid=1000 pid=14206 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 718s # Acquired the name org.gtk.GDBus.FakeService 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 6 /gdbus/bus-watch-name-closures 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 7 /gdbus/bus-watch-name-closures-auto-start 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-watch-different-context/.dirs/runtime 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 8 /gdbus/bus-watch-different-context 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/bus-unwatch-early/.dirs/runtime 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 9 /gdbus/bus-unwatch-early 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LXMHE3/gdbus/escape-object-path/.dirs/runtime 718s ok 10 /gdbus/escape-object-path 718s # End of gdbus tests 718s TAP version 14 718s # random seed: R02S9db81daa69c701ef9974095d23d430d1 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 718s 1..2 718s # Start of g-file-info-filesystem-readonly tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 718s ok - glib/g-file-info-filesystem-readonly.test 718s # Running test: glib/file-thumbnail.test 718s ok - glib/file-thumbnail.test 718s # Running test: glib/gi-inspect-typelib.py.test 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 718s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_4Y7RE3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 718s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 718s # End of g-file-info-filesystem-readonly tests 718s TAP version 14 718s # random seed: R02S780c35fac8fc6ed82ce7da63a1658d28 718s 1..7 718s # Start of file-thumbnail tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/runtime 718s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 718s ok 1 /file-thumbnail/fail 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 718s ok 2 /file-thumbnail/size-priority 718s # Start of valid tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 718s ok 3 /file-thumbnail/valid/normal 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 718s ok 4 /file-thumbnail/valid/large 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 718s ok 5 /file-thumbnail/valid/x-large 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 718s ok 6 /file-thumbnail/valid/xx-large 718s # End of valid tests 718s # Start of unknown tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/runtime 718s # Created test thumbnail at /tmp/test_file-thumbnail_C95RE3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 718s ok 7 /file-thumbnail/unknown/super-large 718s # End of unknown tests 718s # End of file-thumbnail tests 718s TAP version 13 718s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmphuvqi23p 718s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 718s # Return code: 0 718s # Output: 718s # Usage: 718s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 718s # 718s # Help Options: 718s # -h, --help Show help options 718s # 718s # Application Options: 718s # --typelib-version=VERSION Typelib version to inspect 718s # --print-shlibs List the shared libraries the typelib requires 718s # --print-typelibs List other typelibs the inspected typelib requires 718s # Error: 718s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmp06tdvvor 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 718s # Return code: 1 718s # Output: 718s # 718s # Error: 718s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 718s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmpqqzd83yc 718s # Running: ['/usr/bin/gi-inspect-typelib'] 718s # Return code: 1 718s # Output: 718s # 718s # Error: 718s # Please specify exactly one namespace 718s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmprwlat1ii 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgobject-2.0.so.0 718s # shlib: libglib-2.0.so.0 718s # Error: 718s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmpnxbfspk7 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # 718s # Error: 718s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmp0g3wpucx 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgobject-2.0.so.0 718s # shlib: libglib-2.0.so.0 718s # Error: 718s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmp33mdso_o 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgobject-2.0.so.0 718s # Error: 718s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmp8boey5hd 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # typelib: GLib-2.0 718s # Error: 718s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmpmiccdqn0 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgobject-2.0.so.0 718s # typelib: GLib-2.0 718s # Error: 718s ok - glib/gi-inspect-typelib.py.test 718s # Running test: glib/gdbus-connection-flush.test 718s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmp3o3a8swo 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgio-2.0.so.0 718s # Error: 718s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmpjjt1924p 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # typelib: GObject-2.0 718s # typelib: GLib-2.0 718s # typelib: GModule-2.0 718s # Error: 718s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 718s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 718s # tmpdir: /tmp/tmppe024tkd 718s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 718s # Return code: 0 718s # Output: 718s # shlib: libgio-2.0.so.0 718s # typelib: GObject-2.0 718s # typelib: GLib-2.0 718s # typelib: GModule-2.0 718s # Error: 718s 1..12 718s TAP version 14 718s # random seed: R02Sd22f7d7f40a7f83ddc1646e9bee6879b 718s 1..2 718s # Start of gdbus tests 718s # Start of connection tests 718s # Start of flush tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/busy/.dirs/runtime 718s ok - glib/gdbus-connection-flush.test 718s # Running test: glib/appmonitor.test 718s ok - glib/appmonitor.test 718s # Running test: glib/gdbus-method-invocation.test 718s ok - glib/gdbus-method-invocation.test 718s # Running test: glib/overflow-fallback.test 718s ok 1 /gdbus/connection/flush/busy 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_EISQE3/gdbus/connection/flush/idle/.dirs/runtime 718s ok 2 /gdbus/connection/flush/idle 718s # End of flush tests 718s # End of connection tests 718s # End of gdbus tests 718s TAP version 14 718s # random seed: R02S04523d69f6aae208e20e6c9dea1d277f 718s 1..1 718s # Start of monitor tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/runtime 718s # Using data directory: /tmp/test_appmonitor_2LZQE3/monitor/app/.dirs/data 718s ok 1 /monitor/app 718s # End of monitor tests 718s TAP version 14 718s # random seed: R02S60a18d2b97ef9998b4b4195b4b0d9736 718s 1..1 718s # Start of gdbus tests 718s # Start of method-invocation tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_JYXQE3/gdbus/method-invocation/return/.dirs/runtime 718s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 718s # Calling org.freedesktop.DBus.Properties.Get 718s # Calling org.freedesktop.DBus.Properties.Get 718s # Calling org.freedesktop.DBus.Properties.Get 718s # Calling org.freedesktop.DBus.Properties.Set 718s # Calling org.freedesktop.DBus.Properties.GetAll 718s # Calling org.example.Foo.WrongReturnType 718s # Calling org.example.Foo.GetFDs 718s # Calling org.example.Foo.GetFDs 718s # Calling org.example.Foo.ReturnError 718s # Calling org.example.Foo.CloseBeforeReturning 718s ok 1 /gdbus/method-invocation/return 718s # End of method-invocation tests 718s # End of gdbus tests 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s TAP version 14 718s # random seed: R02Sff3c75dffff2525ed6f1f4c848914d37 718s 1..6 718s # Start of glib tests 718s # Start of checked-math tests 718s ok 1 /glib/checked-math/guint-add 718s ok 2 /glib/checked-math/guint-mul 718s ok 3 /glib/checked-math/guint64-add 718s ok 4 /glib/checked-math/guint64-mul 718s ok 5 /glib/checked-math/gsize-add 718s ok - glib/overflow-fallback.test 718s ok 6 /glib/checked-math/gsize-mul 718s # End of checked-math tests 718s # End of glib tests 718s # Running test: glib/gdbus-proxy-unique-name.test 718s TAP version 14 718s # random seed: R02S6335d4b3a9f2996e5a0b0443252ef3e9 718s 1..1 718s # Start of gdbus tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_J6FQE3/gdbus/proxy-unique-name/.dirs/runtime 718s ok - glib/gdbus-proxy-unique-name.test 718s # Running test: glib/network-address.test 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 718s ok 1 /gdbus/proxy-unique-name 718s # End of gdbus tests 718s TAP version 14 718s # random seed: R02S7b886d3dbb652769d6a2c2e0c6d28e53 718s 1..72 718s # Start of network-address tests 718s ok 1 /network-address/basic 718s ok 2 /network-address/scope-id 718s ok 3 /network-address/uri-scope-id 718s ok 4 /network-address/to-string 718s # Start of parse-host tests 718s ok 5 /network-address/parse-host/0 718s ok 6 /network-address/parse-host/1 718s ok 7 /network-address/parse-host/2 718s ok 8 /network-address/parse-host/3 718s ok 9 /network-address/parse-host/4 718s ok 10 /network-address/parse-host/5 718s ok 11 /network-address/parse-host/6 718s ok 12 /network-address/parse-host/7 718s ok 13 /network-address/parse-host/8 718s ok 14 /network-address/parse-host/9 718s ok 15 /network-address/parse-host/10 718s ok 16 /network-address/parse-host/11 718s ok 17 /network-address/parse-host/12 718s ok 18 /network-address/parse-host/13 718s # End of parse-host tests 718s # Start of parse-uri tests 718s ok 19 /network-address/parse-uri/0 718s ok 20 /network-address/parse-uri/1 718s ok 21 /network-address/parse-uri/2 718s ok 22 /network-address/parse-uri/3 718s ok 23 /network-address/parse-uri/4 718s ok 24 /network-address/parse-uri/5 718s ok 25 /network-address/parse-uri/6 718s ok 26 /network-address/parse-uri/7 718s ok 27 /network-address/parse-uri/8 718s ok 28 /network-address/parse-uri/9 718s # End of parse-uri tests 718s # Start of resolve-address tests 718s # Input: 192.168.1.2 718s ok 29 /network-address/resolve-address/0 718s # Input: fe80::42 718s ok 30 /network-address/resolve-address/1 718s # Input: 192.168.1.2:80 718s ok 31 /network-address/resolve-address/2 718s # Input: [fe80::42] 718s ok 32 /network-address/resolve-address/3 718s # Input: [fe80::42]:80 718s ok 33 /network-address/resolve-address/4 718s # Input: 192.168.258 718s ok 34 /network-address/resolve-address/5 718s # Input: 192.11010306 718s ok 35 /network-address/resolve-address/6 718s # Input: 3232235778 718s ok 36 /network-address/resolve-address/7 718s # Input: 0300.0250.0001.0001 718s ok 37 /network-address/resolve-address/8 718s # Input: 0xC0.0xA8.0x01.0x02 718s ok 38 /network-address/resolve-address/9 718s # Input: 0xc0.0xa8.0x01.0x02 718s ok 39 /network-address/resolve-address/10 718s # Input: 0xc0a80102 718s ok 40 /network-address/resolve-address/11 718s # End of resolve-address tests 718s # Start of loopback tests 718s ok 41 /network-address/loopback/basic 718s ok 42 /network-address/loopback/sync 718s ok 43 /network-address/loopback/async 718s # End of loopback tests 718s # Start of localhost tests 718s ok 44 /network-address/localhost/async 718s ok 45 /network-address/localhost/sync 718s # End of localhost tests 718s # Start of happy-eyeballs tests 718s ok 46 /network-address/happy-eyeballs/basic 718s ok 47 /network-address/happy-eyeballs/parallel 718s ok 48 /network-address/happy-eyeballs/slow-ipv4 718s ok 49 /network-address/happy-eyeballs/slow-ipv6 718s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 719s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 719s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 719s # /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. 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s ok 57 /network-address/happy-eyeballs/both-error 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s ok 58 /network-address/happy-eyeballs/both-error-delays-1 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 719s ok 59 /network-address/happy-eyeballs/both-error-delays-2 719s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 719s ok 60 /network-address/happy-eyeballs/both-error-delays-3 719s # End of happy-eyeballs tests 719s # End of network-address tests 719s # Start of gresolver tests 719s # Start of resolve-address tests 719s # Input: 192.168.1.2 719s ok 61 /gresolver/resolve-address/0 719s # Input: fe80::42 719s ok 62 /gresolver/resolve-address/1 719s # Input: 192.168.1.2:80 719s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 719s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 719s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 719s # Error: Error resolving “192.168.1.2:80”: Name or service not known 719s ok 63 /gresolver/resolve-address/2 719s # Input: [fe80::42] 719s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 719s ok - glib/network-address.test 719s # Running test: glib/portal-support-flatpak-network-only.test 719s # Error: Error resolving “[fe80::42]”: Name or service not known 719s ok 64 /gresolver/resolve-address/3 719s # Input: [fe80::42]:80 719s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 719s # Error: Error resolving “[fe80::42]:80”: Name or service not known 719s ok 65 /gresolver/resolve-address/4 719s # Input: 192.168.258 719s # Error: Error resolving “192.168.258”: Name or service not known 719s ok 66 /gresolver/resolve-address/5 719s # Input: 192.11010306 719s # Error: Error resolving “192.11010306”: Name or service not known 719s ok 67 /gresolver/resolve-address/6 719s # Input: 3232235778 719s # Error: Error resolving “3232235778”: Name or service not known 719s ok 68 /gresolver/resolve-address/7 719s # Input: 0300.0250.0001.0001 719s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 719s ok 69 /gresolver/resolve-address/8 719s # Input: 0xC0.0xA8.0x01.0x02 719s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 719s ok 70 /gresolver/resolve-address/9 719s # Input: 0xc0.0xa8.0x01.0x02 719s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 719s ok 71 /gresolver/resolve-address/10 719s # Input: 0xc0a80102 719s # Error: Error resolving “0xc0a80102”: Name or service not known 719s ok 72 /gresolver/resolve-address/11 719s # End of resolve-address tests 719s # End of gresolver tests 719s TAP version 14 719s # random seed: R02S7aa27e272ac7f63de4871253385ce45e 719s 1..1 719s # Start of portal-support tests 719s # Start of flatpak tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/runtime 719s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_JTL0E3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 719s ok 1 /portal-support/flatpak/network 719s # End of flatpak tests 719s # End of portal-support tests 719s ok - glib/portal-support-flatpak-network-only.test 719s # Running test: glib/repository.test 720s TAP version 14 720s # random seed: R02S0cb2164762e4fc6c1637ec4ed4c42259 720s 1..24 720s # Start of repository tests 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/basic/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/basic/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/basic/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 720s ok 1 /repository/basic 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/info/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/info/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/info/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/info/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/info/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/info/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/info/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/info/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/info/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/info/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/info summary: Test retrieving some basic info blobs from a typelib 720s ok 2 /repository/info 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/dependencies/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 720s ok 3 /repository/dependencies 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/arg-info/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 720s ok 4 /repository/arg-info 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/callable-info/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 720s ok 5 /repository/callable-info 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/callback-info/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 720s ok 6 /repository/callback-info 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/char-types/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/char-types/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/char-types/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 720s ok 7 /repository/char-types 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/constructor-return-type/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 720s ok 8 /repository/constructor-return-type 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/enum-info-c-identifier/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 720s ok 9 /repository/enum-info-c-identifier 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/enum-info-static-methods/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/enum-info-static-methods summary: Test an enum with methods 720s ok 10 /repository/enum-info-static-methods 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/error-quark/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/error-quark summary: Test finding an error quark by error domain 720s ok 11 /repository/error-quark 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/flags-info-c-identifier/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 720s ok 12 /repository/flags-info-c-identifier 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/fundamental-ref-func/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 720s ok 13 /repository/fundamental-ref-func 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/instance-method-ownership-transfer/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 720s ok 14 /repository/instance-method-ownership-transfer 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/object-gtype-interfaces/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 720s ok 15 /repository/object-gtype-interfaces 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/signal-info-with-array-length-arg/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 720s ok 16 /repository/signal-info-with-array-length-arg 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/type-info-name/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 720s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 720s ok 17 /repository/type-info-name 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 720s ok - glib/repository.test 720s # Running test: glib/performance-threaded.test 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-no-invoker/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 720s ok 18 /repository/vfunc-info-with-no-invoker 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 720s ok 19 /repository/vfunc-info-with-invoker-on-interface 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 720s ok 20 /repository/vfunc-info-with-invoker-on-object 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/find-by-gtype/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/find-by-gtype summary: Test finding a GType 720s ok 21 /repository/find-by-gtype 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/loaded-namespaces/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/loaded-namespaces summary: Test listing loaded namespaces 720s ok 22 /repository/loaded-namespaces 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/dup_default/.dirs/runtime 720s ok 23 /repository/dup_default 720s # Start of base-info tests 720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/home 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/cache 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/system-config2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/config 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/system-data2 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/data 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/state 720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WPJ0E3/repository/base-info/clear/.dirs/runtime 720s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 720s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 720s ok 24 /repository/base-info/clear 720s # End of base-info tests 720s # End of repository tests 720s Running test "liststore-is-a" 720s 15468 runs, min/avg/max = 0.064/0.065/0.261 ms 720s Running test "liststore-interface-peek" 721s # Executing: glib/performance-threaded.test 721s 18694 runs, min/avg/max = 0.050/0.053/1.354 ms 721s Running test "liststore-interface-peek-same" 722s 16842 runs, min/avg/max = 0.050/0.059/1.672 ms 722s ok - glib/performance-threaded.test 722s # Running test: glib/utils-c-89.test 722s TAP version 14 722s # random seed: R02S49098a2e15285a8b96544b0ef6897113 722s 1..41 722s # Start of utils tests 722s ok 1 /utils/language-names 722s # Testing locale ‘en’ 722s # Testing locale ‘sr@latin’ 722s # Testing locale ‘fr_BE’ 722s # Testing locale ‘sr_SR@latin’ 722s # Testing locale ‘sr_SR@latin.UTF-8’ 722s # Testing locale ‘sr@latin_invalid’ 722s # Testing locale ‘sr.UTF-8@latin’ 722s # Testing locale ‘sr.UTF-8_latin’ 722s # Testing locale ‘sr.UTF-8@latin_invalid’ 723s ok 2 /utils/locale-variants 723s ok 3 /utils/version 723s ok 4 /utils/appname 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 723s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 723s ok 5 /utils/prgname-thread-safety 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 723s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 723s ok 6 /utils/tmpdir 723s ok 7 /utils/basic_bits 723s ok 8 /utils/bits 723s ok 9 /utils/swap 723s ok 10 /utils/find-program 723s ok 11 /utils/find-program-for-path 723s ok 12 /utils/debug 723s ok 13 /utils/codeset 723s ok 14 /utils/codeset2 723s ok 15 /utils/console-charset 723s ok 16 /utils/gettext 723s ok 17 /utils/username 723s ok 18 /utils/realname 723s ok 19 /utils/hostname 723s ok 20 /utils/xdgdirs 723s ok 21 /utils/specialdir 723s # NAME: Ubuntu 723s ok 22 /utils/os-info 723s ok 23 /utils/clear-pointer 723s ok 24 /utils/clear-pointer-cast 723s ok 25 /utils/take-pointer 723s ok 26 /utils/clear-source 723s ok 27 /utils/misc-mem 723s # /utils/aligned-mem summary: Aligned memory allocator 723s # Alignment must not be zero 723s # Alignment must be a power of two 723s # Alignment must be a multiple of sizeof(void*) 723s ok 28 /utils/aligned-mem 723s # /utils/free-sized summary: Check that g_free_sized() works 723s ok 29 /utils/free-sized 723s ok 30 /utils/nullify 723s ok 31 /utils/atexit 723s ok 32 /utils/check-setuid 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 723s ok 33 /utils/int-limits 723s ok 34 /utils/clear-list 723s ok 35 /utils/clear-slist 723s ok 36 /utils/steal-handle-id 723s # Start of specialdir tests 723s ok 37 /utils/specialdir/desktop 723s # End of specialdir tests 723s # Start of clear-pointer tests 723s ok 38 /utils/clear-pointer/side-effects 723s # End of clear-pointer tests 723s # Start of aligned-mem tests 723s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 723s ok 39 /utils/aligned-mem/alignment 723s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 723s ok - glib/utils-c-89.test 723s # Running test: glib/converter-stream.test 723s ok 40 /utils/aligned-mem/zeroed 723s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 723s ok 41 /utils/aligned-mem/free-sized 723s # Start of subprocess tests 723s # End of subprocess tests 723s # End of aligned-mem tests 723s # End of utils tests 723s TAP version 14 723s # random seed: R02S0bdb9e56f09e95e85069035460d4f67d 723s 1..17 723s # Start of converter tests 723s ok 1 /converter/basics 723s # End of converter tests 723s # Start of converter-input-stream tests 723s ok 2 /converter-input-stream/expander 723s ok 3 /converter-input-stream/compressor 723s # Start of truncation tests 723s ok 4 /converter-input-stream/truncation/zlib 723s ok 5 /converter-input-stream/truncation/gzip 723s ok 6 /converter-input-stream/truncation/raw 723s # End of truncation tests 723s # Start of charset tests 723s ok 7 /converter-input-stream/charset/utf8->latin1 723s ok 8 /converter-input-stream/charset/latin1->utf8 723s ok 9 /converter-input-stream/charset/fallbacks 723s # End of charset tests 723s # End of converter-input-stream tests 723s # Start of converter-output-stream tests 723s # Start of roundtrip tests 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 10 /converter-output-stream/roundtrip/zlib-0 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 11 /converter-output-stream/roundtrip/zlib-9 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 12 /converter-output-stream/roundtrip/gzip-0 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 13 /converter-output-stream/roundtrip/gzip-9 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 14 /converter-output-stream/roundtrip/raw-0 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 723s ok 15 /converter-output-stream/roundtrip/raw-9 723s # End of roundtrip tests 723s # End of converter-output-stream tests 723s # Start of converter-stream tests 723s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 723s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa04a69810 and GSocketClientAsyncConnectData 0x2aa04a61f70 723s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 723s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 723s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa04a6adb0 for GSocketClientAsyncConnectData 0x2aa04a61f70 723s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 723s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 723s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 723s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 723s ok 16 /converter-stream/pollable 723s ok 17 /converter-stream/leftover 723s # End of converter-stream tests 723s ok - glib/converter-stream.test 723s # Running test: glib/sandbox.test 723s TAP version 14 723s # random seed: R02S3f24ac5ae186515c47649658442995e7 723s 1..4 723s # Start of sandbox tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MRY2E3/sandbox/none/.dirs/runtime 723s ok 1 /sandbox/none 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MRY2E3/sandbox/snap/.dirs/runtime 723s ok - glib/sandbox.test 723s # Running test: glib/mainloop.test 723s # Created snap.yaml in /tmp/test_sandbox_MRY2E3/snap/current/meta/snap.yaml 723s ok 2 /sandbox/snap 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MRY2E3/sandbox/classic-snap/.dirs/runtime 723s # Created snap.yaml in /tmp/test_sandbox_MRY2E3/snap/current/meta/snap.yaml 723s ok 3 /sandbox/classic-snap 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/runtime 723s # Creating .flatpak-info in /tmp/test_sandbox_MRY2E3/sandbox/flatpak/.dirs/runtime/.flatpak-info 723s ok 4 /sandbox/flatpak 723s # End of sandbox tests 723s TAP version 14 723s # random seed: R02S01d6a1709b45548fb70d2595e400a77a 723s 1..47 723s # Start of maincontext tests 723s ok 1 /maincontext/basic 723s # Add same-priority sources: 13 723s # Find each source: 1 723s # Remove in random order: 11 723s ok 2 /maincontext/nsources_same_priority 723s # Add different-priority sources: 15 723s # Find each source: 1 723s # Remove in random order: 16 723s ok 3 /maincontext/nsources_different_priority 724s # Add sources from threads: 74 724s # Remove sources from threads: 31 724s ok 4 /maincontext/nsources_threadpool 724s ok 5 /maincontext/source_finalization 724s # /maincontext/idle-once summary: Test g_idle_add_once() works 724s ok 6 /maincontext/idle-once 724s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 724s ok 7 /maincontext/timeout-once 724s # /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. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 724s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 724s # Start of source_finalization_from_source tests 724s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 9 /maincontext/source_finalization_from_source/0 724s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 10 /maincontext/source_finalization_from_source/1 724s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 11 /maincontext/source_finalization_from_source/2 724s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 12 /maincontext/source_finalization_from_source/3 724s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 13 /maincontext/source_finalization_from_source/4 724s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 14 /maincontext/source_finalization_from_source/5 724s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 15 /maincontext/source_finalization_from_source/6 724s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 16 /maincontext/source_finalization_from_source/7 724s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 17 /maincontext/source_finalization_from_source/8 724s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 724s ok 18 /maincontext/source_finalization_from_source/9 724s # End of source_finalization_from_source tests 724s # Start of source_finalization_from_dispatch tests 724s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 724s ok 19 /maincontext/source_finalization_from_dispatch/0 724s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 724s ok 20 /maincontext/source_finalization_from_dispatch/1 724s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 724s ok 21 /maincontext/source_finalization_from_dispatch/2 724s # End of source_finalization_from_dispatch tests 724s # End of maincontext tests 724s # Start of mainloop tests 724s ok 22 /mainloop/basic 724s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 724s ok 24 /mainloop/priorities 724s ok 25 /mainloop/invoke 724s # slow test /mainloop/invoke executed in 0.50 secs 725s ok 26 /mainloop/child_sources 725s # slow test /mainloop/child_sources executed in 1.19 secs 726s # Executing: glib/mainloop.test 727s ok 27 /mainloop/recursive_child_sources 727s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 727s ok 28 /mainloop/recursive_loop_child_sources 728s ok 29 /mainloop/swapping_child_sources 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 728s ok 30 /mainloop/blocked_child_sources 729s ok 31 /mainloop/source_time 729s # slow test /mainloop/source_time executed in 1.00 secs 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 729s ok 32 /mainloop/overflow 729s ok 33 /mainloop/ready-time 729s # slow test /mainloop/ready-time executed in 0.50 secs 729s ok 34 /mainloop/wakeup 729s ok 35 /mainloop/remove-invalid 729s ok 36 /mainloop/unref-while-pending 729s ok 37 /mainloop/unix-fd 729s ok 38 /mainloop/unix-fd-source 729s ok 39 /mainloop/source-unix-fd-api 730s ok 40 /mainloop/wait 730s ok 41 /mainloop/unix-file-poll 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 730s ok 42 /mainloop/unix-fd-priority 730s ok 43 /mainloop/nfds 730s ok 44 /mainloop/steal-fd 730s ok 45 /mainloop/simultaneous-source-context-destruction 730s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.55 secs 730s # Start of ownerless-polling tests 730s ok 46 /mainloop/ownerless-polling/attach-first 730s ok 47 /mainloop/ownerless-polling/pop-first 730s # End of ownerless-polling tests 730s # End of mainloop tests 730s ok - glib/mainloop.test 730s # Running test: glib/cancellable.test 730s TAP version 14 730s # random seed: R02S0e6f6220725d9f4cef9ff5d4b78e2583 730s 1..18 730s # Start of cancellable tests 730s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 730s ok 2 /cancellable/null 730s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 730s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 730s ok 4 /cancellable/connect-to-disposing-callback 730s ok 5 /cancellable/connect-cancelled-data-is-destroyed 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 1 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 0 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 1 730s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 730s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 730s ok 7 /cancellable/connect-cancelled-to-disposing-callback 730s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 1 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 0 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 1 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 0 730s # Toggle reference callback for GCancellable (0x2aa3f930bf0), last: 1 730s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 730s # /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 730s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 730s # /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 730s ok 11 /cancellable/resets-on-cancel-callback-hangs 730s ok 12 /cancellable/poll-fd 730s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 730s ok 13 /cancellable/poll-fd-cancelled 730s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 730s ok 14 /cancellable/poll-fd-cancelled-threaded 730s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 730s ok 15 /cancellable/cancel-reset-races 730s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 730s ok 16 /cancellable/cancel-reset-connect-races 730s # End of cancellable tests 730s # Start of cancellable-source tests 730s # /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) 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 731s ok 17 /cancellable-source/threaded-dispose 731s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 731s ok 18 /cancellable-source/can-be-fired-multiple-times 731s # End of cancellable-source tests 731s ok - glib/cancellable.test 731s # Running test: glib/gobject-query.py.test 731s TAP version 13 731s ok 1 __main__.TestGobjectQuery.test_froots 731s # gobject-query: /usr/bin/gobject-query 731s # tmpdir: /tmp/tmpf07r9ph1 731s # Running: ['/usr/bin/gobject-query', 'froots'] 731s # Return code: 0 731s # Output: 731s # ├void 731s # ├GInterface 731s # │ └GTypePlugin 731s # ├gchar 731s # ├guchar 731s # ├gboolean 731s # ├gint 731s # ├guint 731s # ├glong 731s # ├gulong 731s # ├gint64 731s # ├guint64 731s # ├GEnum 731s # ├GFlags 731s # ├gfloat 731s # ├gdouble 731s # ├gchararray 731s # ├gpointer 731s # │ └GType 731s # ├GBoxed 731s # │ └GValueArray 731s # ├GParam 731s # │ ├GParamChar 731s # │ ├GParamUChar 731s # │ ├GParamBoolean 731s # │ ├GParamInt 731s # │ ├GParamUInt 731s # │ ├GParamLong 731s # │ ├GParamULong 731s # │ ├GParamInt64 731s # │ ├GParamUInt64 731s # │ ├GParamUnichar 731s # │ ├GParamEnum 731s # │ ├GParamFlags 731s # │ ├GParamFloat 731s # │ ├GParamDouble 731s # │ ├GParamString 731s # │ ├GParamParam 731s # │ ├GParamBoxed 731s # │ ├GParamPointer 731s # │ ├GParamValueArray 731s # │ ├GParamObject 731s # │ ├GParamOverride 731s # │ ├GParamGType 731s # │ └GParamVariant 731s # ├GObject 731s # └GVariant 731s # Error: 731s ok 2 __main__.TestGobjectQuery.test_help 731s # gobject-query: /usr/bin/gobject-query 731s # tmpdir: /tmp/tmpzdo04sja 731s # Running: ['/usr/bin/gobject-query', '--help'] 731s # Return code: 0 731s # Output: 731s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 731s # -r specify root type 731s # -n don't descend type tree 731s # -h show help 731s # -b specify indent string 731s # -i specify incremental indent string 731s # -s specify line spacing 731s # qualifiers: 731s # froots iterate over fundamental roots 731s # tree print type tree 731s # Error: 731s ok 3 __main__.TestGobjectQuery.test_tree 731s # gobject-query: /usr/bin/gobject-query 731s # tmpdir: /tmp/tmp2zjdnh07 731s # Running: ['/usr/bin/gobject-query', 'tree'] 731s # Return code: 0 731s # Output: 731s # GObject 731s # Error: 731s ok 4 __main__.TestGobjectQuery.test_version 731s ok - glib/gobject-query.py.test 731s # Running test: glib/mutex.test 731s # gobject-query: /usr/bin/gobject-query 731s # tmpdir: /tmp/tmp8__hdn61 731s # Running: ['/usr/bin/gobject-query', '--version'] 731s # Return code: 0 731s # Output: 731s # 2.86.0 731s # Error: 731s 1..4 731s TAP version 14 731s # random seed: R02S9cfc225a01bab3a8acbd8b02fdf35a4a 731s 1..17 731s # Start of thread tests 731s ok 1 /thread/mutex1 731s ok 2 /thread/mutex2 731s ok 3 /thread/mutex3 731s ok 4 /thread/mutex4 731s # Executing: glib/mutex.test 733s ok 5 /thread/mutex5 733s # slow test /thread/mutex5 executed in 2.10 secs 733s # Start of mutex tests 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s # /thread/mutex/errno summary: Validates that errno is not touched upon return 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 733s ok 6 /thread/mutex/errno 733s # Start of perf tests 733s # max perf: inf mips 733s ok 7 /thread/mutex/perf/uncontended 733s # Start of contended tests 733s # max perf: inf mips 733s ok 8 /thread/mutex/perf/contended/1 733s # max perf: inf mips 733s ok 9 /thread/mutex/perf/contended/2 733s # max perf: 4.000000 mips 733s ok 10 /thread/mutex/perf/contended/3 733s # max perf: 5.000000 mips 733s ok 11 /thread/mutex/perf/contended/4 733s # max perf: 6.000000 mips 733s ok 12 /thread/mutex/perf/contended/5 733s # max perf: 7.000000 mips 733s ok 13 /thread/mutex/perf/contended/6 733s # max perf: inf mips 733s ok 14 /thread/mutex/perf/contended/7 733s # max perf: 4.500000 mips 733s ok 15 /thread/mutex/perf/contended/8 733s # max perf: 10.000000 mips 733s ok 16 /thread/mutex/perf/contended/9 733s # max perf: 11.000000 mips 733s ok 17 /thread/mutex/perf/contended/10 733s # End of contended tests 733s # End of perf tests 733s # End of mutex tests 733s # End of thread tests 733s ok - glib/mutex.test 733s # Running test: glib/signals-refcount1.test 733s TAP version 14 733s # random seed: R02Sb2de39a2d00937da348a05666913dd0f 733s 1..1 733s # Start of gobject tests 733s # Start of refcount tests 733s # init 0x2aa0da16490 733s # 733s # init 0x2aa0da0e580 733s # 736s # Executing: glib/signals-refcount1.test 738s # dispose 0x2aa0da16490! 738s # 738s # dispose 0x2aa0da0e580! 738s # 738s ok 1 /gobject/refcount/signals 738s # slow test /gobject/refcount/signals executed in 5.00 secs 738s # End of refcount tests 738s # End of gobject tests 738s ok - glib/signals-refcount1.test 738s # Running test: glib/ifaceproperties.test 738s TAP version 14 738s # random seed: R02Sa3cde725b63980f3d62201638ec08098 738s 1..7 738s # Start of interface tests 738s # Start of properties tests 738s ok 1 /interface/properties/set 738s ok 2 /interface/properties/notify 738s ok 3 /interface/properties/find-overridden 738s ok 4 /interface/properties/list-overridden 738s ok - glib/ifaceproperties.test 738s # Running test: glib/portal-support-flatpak-none.test 738s ok - glib/portal-support-flatpak-none.test 738s # Running test: glib/memory-monitor.test 738s ok - glib/memory-monitor.test 738s # Running test: glib/dataset.test 738s ok - glib/dataset.test 738s # Running test: glib/mapping.test 738s ok 5 /interface/properties/find-interface 738s ok 6 /interface/properties/list-interface 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 738s ok 7 /interface/properties/not-overridden 738s # End of properties tests 738s # End of interface tests 738s TAP version 14 738s # random seed: R02S588103b410b511a04d0211a609173119 738s 1..1 738s # Start of portal-support tests 738s # Start of flatpak tests 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/runtime 738s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_WHXNE3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 738s ok 1 /portal-support/flatpak/none 738s # End of flatpak tests 738s # End of portal-support tests 738s TAP version 14 738s # random seed: R02Sfbc7f4bbe3279b775f141e3e86a50a16 738s 1..1 738s # Start of memory-monitor tests 738s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 738s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 738s ok 1 /memory-monitor/default 738s # End of memory-monitor tests 738s TAP version 14 738s # random seed: R02Sfeacdc593f1353aa700e713db48d0b0c 738s 1..15 738s # Start of quark tests 738s ok 1 /quark/basic 738s ok 2 /quark/string 738s # End of quark tests 738s # Start of dataset tests 738s ok 3 /dataset/basic 738s ok 4 /dataset/id 738s ok 5 /dataset/full 738s ok 6 /dataset/foreach 738s ok 7 /dataset/destroy 738s # End of dataset tests 738s # Start of datalist tests 738s ok 8 /datalist/id 738s ok 9 /datalist/recursive-clear 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 738s ok 10 /datalist/id-remove-multiple 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 738s ok 11 /datalist/id-remove-multiple-destroy-order 738s ok 12 /datalist/update-atomic 738s # Start of basic tests 738s ok 13 /datalist/basic/few 738s ok 14 /datalist/basic/many 738s # End of basic tests 738s # Start of id-remove-multiple tests 738s ok 15 /datalist/id-remove-multiple/resize 738s # End of id-remove-multiple tests 738s # End of datalist tests 738s ok - glib/mapping.test 738s # Running test: glib/atomic-c-11.test 738s ok - glib/atomic-c-11.test 738s # Running test: glib/regex.test 738s TAP version 14 738s # random seed: R02S2392d6d3f08069c8d2df635ea819069d 738s 1..3 738s # Start of mapping tests 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_X53NE3/mapping/flags/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_X53NE3/mapping/flags/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_X53NE3/mapping/flags/.dirs/runtime 738s # test_mapping: ok 738s ok 1 /mapping/flags 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_X53NE3/mapping/private/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_X53NE3/mapping/private/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_X53NE3/mapping/private/.dirs/system-config1:/tmp/test_mapping_X53NE3/mapping/private/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_X53NE3/mapping/private/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_X53NE3/mapping/private/.dirs/system-data1:/tmp/test_mapping_X53NE3/mapping/private/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_X53NE3/mapping/private/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_X53NE3/mapping/private/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_X53NE3/mapping/private/.dirs/runtime 738s ok 2 /mapping/private 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_X53NE3/mapping/private-child/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_X53NE3/mapping/private-child/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_X53NE3/mapping/private-child/.dirs/runtime 738s # test_child_private: child spawned 738s # Subtest: /usr/libexec/installed-tests/glib/mapping 738s # random seed: R02Sa4335cecadbe76982c3308026f508c83 738s # test_child_private: received first child signal 738s # test_child_private: received parent signal 738s # Child exited with status 0 738s # test_child_private: received second child signal 738s ok 3 /mapping/private-child 738s # End of mapping tests 738s TAP version 14 738s # random seed: R02S85b0fbe6ceae067822e11540b5d003ba 738s 1..2 738s # Start of atomic tests 738s ok 1 /atomic/types 738s ok 2 /atomic/threaded 738s # End of atomic tests 738s TAP version 14 738s # random seed: R02Sdab0e7fc78c6cecd3ca41e368248f720 738s 1..848 738s # Start of regex tests 738s ok 1 /regex/properties 738s ok 2 /regex/class 738s ok 3 /regex/lookahead 738s ok 4 /regex/lookbehind 738s ok 5 /regex/subpattern 738s ok 6 /regex/condition 738s ok 7 /regex/recursion 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 738s ok 8 /regex/multiline 738s ok 9 /regex/explicit-crlf 738s ok 10 /regex/max-lookbehind 738s ok 11 /regex/compile-errors 738s ok 12 /regex/jit-unsupported-matching 738s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 738s ok 13 /regex/unmatched-named-subpattern 738s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 738s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 738s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 738s ok 14 /regex/compiled-regex-after-jit-failure 738s # Start of new tests 738s ok 15 /regex/new/1 738s ok 16 /regex/new/2 738s ok 17 /regex/new/3 738s ok 18 /regex/new/4 738s ok 19 /regex/new/5 738s ok 20 /regex/new/6 738s ok 21 /regex/new/7 738s ok 22 /regex/new/8 738s ok 23 /regex/new/9 738s ok 24 /regex/new/10 738s ok 25 /regex/new/11 738s ok 26 /regex/new/12 738s ok 27 /regex/new/13 738s ok 28 /regex/new/14 738s ok 29 /regex/new/15 738s ok 30 /regex/new/16 738s ok 31 /regex/new/17 738s ok 32 /regex/new/18 738s ok 33 /regex/new/19 738s ok 34 /regex/new/71 738s ok 35 /regex/new/80 738s ok 36 /regex/new/82 738s # End of new tests 738s # Start of new-check-flags tests 738s ok 37 /regex/new-check-flags/20 738s ok 38 /regex/new-check-flags/21 738s ok 39 /regex/new-check-flags/22 738s ok 40 /regex/new-check-flags/23 738s ok 41 /regex/new-check-flags/24 738s ok 42 /regex/new-check-flags/25 738s ok 43 /regex/new-check-flags/26 738s ok 44 /regex/new-check-flags/27 738s ok 45 /regex/new-check-flags/28 738s ok 46 /regex/new-check-flags/29 738s ok 47 /regex/new-check-flags/30 738s ok 48 /regex/new-check-flags/31 738s ok 49 /regex/new-check-flags/32 738s ok 50 /regex/new-check-flags/33 738s ok 51 /regex/new-check-flags/34 738s ok 52 /regex/new-check-flags/35 738s ok 53 /regex/new-check-flags/36 738s # End of new-check-flags tests 738s # Start of new-fail tests 738s ok 54 /regex/new-fail/37 738s ok 55 /regex/new-fail/38 738s ok 56 /regex/new-fail/39 738s ok 57 /regex/new-fail/40 738s ok 58 /regex/new-fail/41 738s ok 59 /regex/new-fail/42 738s ok 60 /regex/new-fail/43 738s ok 61 /regex/new-fail/44 738s ok 62 /regex/new-fail/45 738s ok 63 /regex/new-fail/46 738s ok 64 /regex/new-fail/47 738s ok 65 /regex/new-fail/48 738s ok 66 /regex/new-fail/49 738s ok 67 /regex/new-fail/50 738s ok 68 /regex/new-fail/51 738s ok 69 /regex/new-fail/52 738s ok 70 /regex/new-fail/53 738s ok 71 /regex/new-fail/54 738s ok 72 /regex/new-fail/55 738s ok 73 /regex/new-fail/56 738s ok 74 /regex/new-fail/57 738s ok 75 /regex/new-fail/58 738s ok 76 /regex/new-fail/59 738s ok 77 /regex/new-fail/60 738s ok 78 /regex/new-fail/61 738s ok 79 /regex/new-fail/62 738s ok 80 /regex/new-fail/63 738s ok 81 /regex/new-fail/64 738s ok 82 /regex/new-fail/65 738s ok 83 /regex/new-fail/66 738s ok 84 /regex/new-fail/67 738s ok 85 /regex/new-fail/68 738s ok 86 /regex/new-fail/69 738s ok 87 /regex/new-fail/70 738s ok 88 /regex/new-fail/72 738s ok 89 /regex/new-fail/73 738s ok 90 /regex/new-fail/74 738s ok 91 /regex/new-fail/75 738s ok 92 /regex/new-fail/76 738s ok 93 /regex/new-fail/77 738s ok 94 /regex/new-fail/78 738s ok 95 /regex/new-fail/79 738s ok 96 /regex/new-fail/81 738s ok 97 /regex/new-fail/83 738s ok 98 /regex/new-fail/84 738s ok 99 /regex/new-fail/85 738s ok 100 /regex/new-fail/86 738s ok 101 /regex/new-fail/87 738s ok 102 /regex/new-fail/88 738s ok 103 /regex/new-fail/89 738s ok 104 /regex/new-fail/90 738s ok 105 /regex/new-fail/91 738s # End of new-fail tests 738s # Start of match-simple tests 738s ok 106 /regex/match-simple/92 738s ok 107 /regex/match-simple/93 738s ok 108 /regex/match-simple/94 738s ok 109 /regex/match-simple/95 738s ok 110 /regex/match-simple/96 738s ok 111 /regex/match-simple/97 738s ok 112 /regex/match-simple/98 738s ok 113 /regex/match-simple/99 738s ok 114 /regex/match-simple/100 738s ok 115 /regex/match-simple/101 738s ok 116 /regex/match-simple/102 738s ok 117 /regex/match-simple/103 738s ok 118 /regex/match-simple/104 738s ok 119 /regex/match-simple/105 738s ok 120 /regex/match-simple/106 738s ok 121 /regex/match-simple/107 738s ok 122 /regex/match-simple/108 738s ok 123 /regex/match-simple/109 738s ok 124 /regex/match-simple/110 738s ok 125 /regex/match-simple/111 738s ok 126 /regex/match-simple/112 738s ok 127 /regex/match-simple/113 738s ok 128 /regex/match-simple/114 738s ok 129 /regex/match-simple/115 738s ok 130 /regex/match-simple/116 738s ok 131 /regex/match-simple/117 738s ok 132 /regex/match-simple/118 738s ok 133 /regex/match-simple/119 738s ok 134 /regex/match-simple/120 738s ok 135 /regex/match-simple/121 738s ok 136 /regex/match-simple/122 738s ok 137 /regex/match-simple/123 738s ok 138 /regex/match-simple/124 738s ok 139 /regex/match-simple/125 738s ok 140 /regex/match-simple/126 738s ok 141 /regex/match-simple/127 738s ok 142 /regex/match-simple/128 738s ok 143 /regex/match-simple/129 738s ok 144 /regex/match-simple/130 738s ok 145 /regex/match-simple/131 738s ok 146 /regex/match-simple/132 738s ok 147 /regex/match-simple/133 738s ok 148 /regex/match-simple/134 738s ok 149 /regex/match-simple/135 738s ok 150 /regex/match-simple/136 738s ok 151 /regex/match-simple/137 738s ok 152 /regex/match-simple/138 738s ok 153 /regex/match-simple/139 738s ok 154 /regex/match-simple/140 738s ok 155 /regex/match-simple/141 738s ok 156 /regex/match-simple/142 738s ok 157 /regex/match-simple/143 738s ok 158 /regex/match-simple/144 738s ok 159 /regex/match-simple/145 738s ok 160 /regex/match-simple/146 738s ok 161 /regex/match-simple/147 738s ok 162 /regex/match-simple/148 738s ok 163 /regex/match-simple/149 738s ok 164 /regex/match-simple/150 738s ok 165 /regex/match-simple/151 738s ok 166 /regex/match-simple/152 738s ok 167 /regex/match-simple/153 738s ok 168 /regex/match-simple/154 738s ok 169 /regex/match-simple/155 738s ok 170 /regex/match-simple/156 738s ok 171 /regex/match-simple/157 738s ok 172 /regex/match-simple/158 738s ok 173 /regex/match-simple/159 738s ok 174 /regex/match-simple/160 738s ok 175 /regex/match-simple/161 738s ok 176 /regex/match-simple/162 738s ok 177 /regex/match-simple/163 738s ok 178 /regex/match-simple/164 738s # End of match-simple tests 738s # Start of match-simple-optimized tests 738s ok 179 /regex/match-simple-optimized/92 738s ok 180 /regex/match-simple-optimized/93 738s ok 181 /regex/match-simple-optimized/94 738s ok 182 /regex/match-simple-optimized/95 738s ok 183 /regex/match-simple-optimized/96 738s ok 184 /regex/match-simple-optimized/97 738s ok 185 /regex/match-simple-optimized/98 738s ok 186 /regex/match-simple-optimized/99 738s ok 187 /regex/match-simple-optimized/100 738s ok 188 /regex/match-simple-optimized/101 738s ok 189 /regex/match-simple-optimized/102 738s ok 190 /regex/match-simple-optimized/103 738s ok 191 /regex/match-simple-optimized/104 738s ok 192 /regex/match-simple-optimized/105 738s ok 193 /regex/match-simple-optimized/106 738s ok 194 /regex/match-simple-optimized/107 738s ok 195 /regex/match-simple-optimized/108 738s ok 196 /regex/match-simple-optimized/109 738s ok 197 /regex/match-simple-optimized/110 738s ok 198 /regex/match-simple-optimized/111 738s ok 199 /regex/match-simple-optimized/112 738s ok 200 /regex/match-simple-optimized/113 738s ok 201 /regex/match-simple-optimized/114 738s ok 202 /regex/match-simple-optimized/115 738s ok 203 /regex/match-simple-optimized/116 738s ok 204 /regex/match-simple-optimized/117 738s ok 205 /regex/match-simple-optimized/118 738s ok 206 /regex/match-simple-optimized/119 738s ok 207 /regex/match-simple-optimized/120 738s ok 208 /regex/match-simple-optimized/121 738s ok 209 /regex/match-simple-optimized/122 738s ok 210 /regex/match-simple-optimized/123 738s ok 211 /regex/match-simple-optimized/124 738s ok 212 /regex/match-simple-optimized/125 738s ok 213 /regex/match-simple-optimized/126 738s ok 214 /regex/match-simple-optimized/127 738s ok 215 /regex/match-simple-optimized/128 738s ok 216 /regex/match-simple-optimized/129 738s ok 217 /regex/match-simple-optimized/130 738s ok 218 /regex/match-simple-optimized/131 738s ok 219 /regex/match-simple-optimized/132 738s ok 220 /regex/match-simple-optimized/133 738s ok 221 /regex/match-simple-optimized/134 738s ok 222 /regex/match-simple-optimized/135 738s ok 223 /regex/match-simple-optimized/136 738s ok 224 /regex/match-simple-optimized/137 738s ok 225 /regex/match-simple-optimized/138 738s ok 226 /regex/match-simple-optimized/139 738s ok 227 /regex/match-simple-optimized/140 738s ok 228 /regex/match-simple-optimized/141 738s ok 229 /regex/match-simple-optimized/142 738s ok 230 /regex/match-simple-optimized/143 738s ok 231 /regex/match-simple-optimized/144 738s ok 232 /regex/match-simple-optimized/145 738s ok 233 /regex/match-simple-optimized/146 738s ok 234 /regex/match-simple-optimized/147 738s ok 235 /regex/match-simple-optimized/148 738s ok 236 /regex/match-simple-optimized/149 738s ok 237 /regex/match-simple-optimized/150 738s ok 238 /regex/match-simple-optimized/151 738s ok 239 /regex/match-simple-optimized/152 738s ok 240 /regex/match-simple-optimized/153 738s ok 241 /regex/match-simple-optimized/154 738s ok 242 /regex/match-simple-optimized/155 738s ok 243 /regex/match-simple-optimized/156 738s ok 244 /regex/match-simple-optimized/157 738s ok 245 /regex/match-simple-optimized/158 738s ok 246 /regex/match-simple-optimized/159 738s ok 247 /regex/match-simple-optimized/160 738s ok 248 /regex/match-simple-optimized/161 738s ok 249 /regex/match-simple-optimized/162 738s ok 250 /regex/match-simple-optimized/163 738s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 738s ok 251 /regex/match-simple-optimized/164 738s # End of match-simple-optimized tests 738s # Start of match tests 738s ok 252 /regex/match/165 738s ok 253 /regex/match/166 738s ok 254 /regex/match/167 738s ok 255 /regex/match/168 738s ok 256 /regex/match/169 738s ok 257 /regex/match/170 738s ok 258 /regex/match/171 738s ok 259 /regex/match/172 738s ok 260 /regex/match/173 738s ok 261 /regex/match/174 738s ok 262 /regex/match/175 738s ok 263 /regex/match/176 738s ok 264 /regex/match/177 738s ok 265 /regex/match/178 738s ok 266 /regex/match/179 738s ok 267 /regex/match/180 738s ok 268 /regex/match/181 738s ok 269 /regex/match/182 738s ok 270 /regex/match/183 738s ok 271 /regex/match/184 738s ok 272 /regex/match/185 738s ok 273 /regex/match/186 738s ok 274 /regex/match/187 738s ok 275 /regex/match/188 738s ok 276 /regex/match/189 738s ok 277 /regex/match/190 738s ok 278 /regex/match/191 738s ok 279 /regex/match/192 738s ok 280 /regex/match/193 738s ok 281 /regex/match/194 738s ok 282 /regex/match/195 738s ok 283 /regex/match/196 738s ok 284 /regex/match/197 738s ok 285 /regex/match/198 738s ok 286 /regex/match/199 738s ok 287 /regex/match/200 738s ok 288 /regex/match/201 738s ok 289 /regex/match/202 738s ok 290 /regex/match/203 738s ok 291 /regex/match/204 738s ok 292 /regex/match/205 738s ok 293 /regex/match/206 738s ok 294 /regex/match/207 738s ok 295 /regex/match/208 738s ok 296 /regex/match/209 738s ok 297 /regex/match/210 738s ok 298 /regex/match/211 738s ok 299 /regex/match/212 738s ok 300 /regex/match/213 738s ok 301 /regex/match/214 738s ok 302 /regex/match/215 738s ok 303 /regex/match/216 738s ok 304 /regex/match/217 738s ok 305 /regex/match/218 738s ok 306 /regex/match/219 738s ok 307 /regex/match/220 738s ok 308 /regex/match/221 738s ok 309 /regex/match/222 738s ok 310 /regex/match/223 738s ok 311 /regex/match/224 738s ok 312 /regex/match/225 738s ok 313 /regex/match/226 738s ok 314 /regex/match/227 738s ok 315 /regex/match/228 738s ok 316 /regex/match/229 738s ok 317 /regex/match/230 738s ok 318 /regex/match/231 738s ok 319 /regex/match/232 738s ok 320 /regex/match/233 738s ok 321 /regex/match/234 738s ok 322 /regex/match/235 738s ok 323 /regex/match/236 738s ok 324 /regex/match/237 738s ok 325 /regex/match/238 738s ok 326 /regex/match/239 738s ok 327 /regex/match/240 738s ok 328 /regex/match/241 738s ok 329 /regex/match/242 738s ok 330 /regex/match/243 738s ok 331 /regex/match/244 738s ok 332 /regex/match/245 738s ok 333 /regex/match/246 738s ok 334 /regex/match/partial281 738s ok 335 /regex/match/partial282 738s ok 336 /regex/match/partial283 738s ok 337 /regex/match/partial284 738s ok 338 /regex/match/partial285 738s ok 339 /regex/match/partial286 738s ok 340 /regex/match/partial287 738s ok 341 /regex/match/partial288 738s ok 342 /regex/match/partial289 738s ok 343 /regex/match/partial290 738s ok 344 /regex/match/partial291 738s ok 345 /regex/match/partial292 738s ok 346 /regex/match/partial293 738s ok 347 /regex/match/partial294 738s ok 348 /regex/match/partial295 738s ok 349 /regex/match/partial296 738s ok 350 /regex/match/partial297 738s ok 351 /regex/match/partial298 738s ok 352 /regex/match/partial299 738s ok 353 /regex/match/partial300 738s ok 354 /regex/match/partial301 738s ok 355 /regex/match/partial302 738s # Start of next0 tests 738s ok 356 /regex/match/next0/247 738s ok 357 /regex/match/next0/248 738s ok 358 /regex/match/next0/249 738s ok 359 /regex/match/next0/250 738s # End of next0 tests 738s # Start of next1 tests 738s ok 360 /regex/match/next1/251 738s ok 361 /regex/match/next1/252 738s ok 362 /regex/match/next1/253 738s ok 363 /regex/match/next1/254 738s ok 364 /regex/match/next1/255 738s # End of next1 tests 738s # Start of next2 tests 738s ok 365 /regex/match/next2/256 738s ok 366 /regex/match/next2/257 738s ok 367 /regex/match/next2/258 738s ok 368 /regex/match/next2/259 738s ok 369 /regex/match/next2/260 738s ok 370 /regex/match/next2/261 738s ok 371 /regex/match/next2/262 738s ok 372 /regex/match/next2/263 738s # End of next2 tests 738s # Start of next3 tests 738s ok 373 /regex/match/next3/264 738s ok 374 /regex/match/next3/265 738s ok 375 /regex/match/next3/266 738s ok 376 /regex/match/next3/267 738s ok 377 /regex/match/next3/268 738s ok 378 /regex/match/next3/269 738s # End of next3 tests 738s # Start of next4 tests 738s ok 379 /regex/match/next4/270 738s # End of next4 tests 738s # Start of count tests 738s ok 380 /regex/match/count/271 738s ok 381 /regex/match/count/272 738s ok 382 /regex/match/count/273 738s ok 383 /regex/match/count/274 738s ok 384 /regex/match/count/275 738s ok 385 /regex/match/count/276 738s ok 386 /regex/match/count/277 738s ok 387 /regex/match/count/278 738s ok 388 /regex/match/count/279 738s ok 389 /regex/match/count/280 738s # End of count tests 738s # Start of count-optimized tests 738s ok 390 /regex/match/count-optimized/271 738s ok 391 /regex/match/count-optimized/272 738s ok 392 /regex/match/count-optimized/273 738s ok 393 /regex/match/count-optimized/274 738s ok 394 /regex/match/count-optimized/275 738s ok 395 /regex/match/count-optimized/276 738s ok 396 /regex/match/count-optimized/277 738s ok 397 /regex/match/count-optimized/278 738s ok 398 /regex/match/count-optimized/279 738s ok 399 /regex/match/count-optimized/280 738s # End of count-optimized tests 738s # Start of partial-optimized tests 738s ok 400 /regex/match/partial-optimized/281 738s ok 401 /regex/match/partial-optimized/282 738s ok 402 /regex/match/partial-optimized/283 738s ok 403 /regex/match/partial-optimized/284 738s ok 404 /regex/match/partial-optimized/285 738s ok 405 /regex/match/partial-optimized/286 738s ok 406 /regex/match/partial-optimized/287 738s ok 407 /regex/match/partial-optimized/288 738s ok 408 /regex/match/partial-optimized/289 738s ok 409 /regex/match/partial-optimized/290 738s ok 410 /regex/match/partial-optimized/291 738s ok 411 /regex/match/partial-optimized/292 738s ok 412 /regex/match/partial-optimized/293 738s ok 413 /regex/match/partial-optimized/294 738s ok 414 /regex/match/partial-optimized/295 738s ok 415 /regex/match/partial-optimized/296 738s ok 416 /regex/match/partial-optimized/297 738s ok 417 /regex/match/partial-optimized/298 738s ok 418 /regex/match/partial-optimized/299 738s ok 419 /regex/match/partial-optimized/300 738s ok 420 /regex/match/partial-optimized/301 738s ok 421 /regex/match/partial-optimized/302 738s # End of partial-optimized tests 738s # Start of subpattern tests 738s ok 422 /regex/match/subpattern/303 738s ok 423 /regex/match/subpattern/304 738s ok 424 /regex/match/subpattern/305 738s ok 425 /regex/match/subpattern/306 738s ok 426 /regex/match/subpattern/307 738s ok 427 /regex/match/subpattern/308 738s ok 428 /regex/match/subpattern/309 738s ok 429 /regex/match/subpattern/310 738s ok 430 /regex/match/subpattern/311 738s ok 431 /regex/match/subpattern/312 738s ok 432 /regex/match/subpattern/313 738s ok 433 /regex/match/subpattern/314 738s ok 434 /regex/match/subpattern/315 738s # Start of named tests 738s # Start of dupnames tests 738s ok 435 /regex/match/subpattern/named/dupnames/325 738s ok 436 /regex/match/subpattern/named/dupnames/326 738s ok 437 /regex/match/subpattern/named/dupnames/327 738s ok 438 /regex/match/subpattern/named/dupnames/328 738s ok 439 /regex/match/subpattern/named/dupnames/329 738s # End of dupnames tests 738s # End of named tests 738s # End of subpattern tests 738s # Start of subpattern-optimized tests 738s ok 440 /regex/match/subpattern-optimized/303 738s ok 441 /regex/match/subpattern-optimized/304 738s ok 442 /regex/match/subpattern-optimized/305 738s ok 443 /regex/match/subpattern-optimized/306 738s ok 444 /regex/match/subpattern-optimized/307 738s ok 445 /regex/match/subpattern-optimized/308 738s ok 446 /regex/match/subpattern-optimized/309 738s ok 447 /regex/match/subpattern-optimized/310 738s ok 448 /regex/match/subpattern-optimized/311 738s ok 449 /regex/match/subpattern-optimized/312 738s ok 450 /regex/match/subpattern-optimized/313 738s ok 451 /regex/match/subpattern-optimized/314 738s ok 452 /regex/match/subpattern-optimized/315 738s # End of subpattern-optimized tests 738s # Start of named tests 738s # Start of subpattern tests 738s ok 453 /regex/match/named/subpattern/316 738s ok 454 /regex/match/named/subpattern/317 738s ok 455 /regex/match/named/subpattern/318 738s ok 456 /regex/match/named/subpattern/319 738s ok 457 /regex/match/named/subpattern/320 738s ok 458 /regex/match/named/subpattern/321 738s ok 459 /regex/match/named/subpattern/322 738s ok 460 /regex/match/named/subpattern/323 738s ok 461 /regex/match/named/subpattern/324 738s ok 462 /regex/match/named/subpattern/330 738s ok 463 /regex/match/named/subpattern/331 738s ok 464 /regex/match/named/subpattern/332 738s ok 465 /regex/match/named/subpattern/333 738s ok 466 /regex/match/named/subpattern/334 738s # End of subpattern tests 738s # End of named tests 738s # End of match tests 738s # Start of match-optimized tests 738s ok 467 /regex/match-optimized/165 738s ok 468 /regex/match-optimized/166 738s ok 469 /regex/match-optimized/167 738s ok 470 /regex/match-optimized/168 738s ok 471 /regex/match-optimized/169 738s ok 472 /regex/match-optimized/170 738s ok 473 /regex/match-optimized/171 738s ok 474 /regex/match-optimized/172 738s ok 475 /regex/match-optimized/173 738s ok 476 /regex/match-optimized/174 738s ok 477 /regex/match-optimized/175 738s ok 478 /regex/match-optimized/176 738s ok 479 /regex/match-optimized/177 738s ok 480 /regex/match-optimized/178 738s ok 481 /regex/match-optimized/179 738s ok 482 /regex/match-optimized/180 738s ok 483 /regex/match-optimized/181 738s ok 484 /regex/match-optimized/182 738s ok 485 /regex/match-optimized/183 738s ok 486 /regex/match-optimized/184 738s ok 487 /regex/match-optimized/185 738s ok 488 /regex/match-optimized/186 738s ok 489 /regex/match-optimized/187 738s ok 490 /regex/match-optimized/188 738s ok 491 /regex/match-optimized/189 738s ok 492 /regex/match-optimized/190 738s ok 493 /regex/match-optimized/191 738s ok 494 /regex/match-optimized/192 738s ok 495 /regex/match-optimized/193 738s ok 496 /regex/match-optimized/194 738s ok 497 /regex/match-optimized/195 738s ok 498 /regex/match-optimized/196 738s ok 499 /regex/match-optimized/197 738s ok 500 /regex/match-optimized/198 738s ok 501 /regex/match-optimized/199 738s ok 502 /regex/match-optimized/200 738s ok 503 /regex/match-optimized/201 738s ok 504 /regex/match-optimized/202 738s ok 505 /regex/match-optimized/203 738s ok 506 /regex/match-optimized/204 738s ok 507 /regex/match-optimized/205 738s ok 508 /regex/match-optimized/206 738s ok 509 /regex/match-optimized/207 738s ok 510 /regex/match-optimized/208 738s ok 511 /regex/match-optimized/209 738s ok 512 /regex/match-optimized/210 738s ok 513 /regex/match-optimized/211 738s ok 514 /regex/match-optimized/212 738s ok 515 /regex/match-optimized/213 738s ok 516 /regex/match-optimized/214 738s ok 517 /regex/match-optimized/215 738s ok 518 /regex/match-optimized/216 738s ok 519 /regex/match-optimized/217 738s ok 520 /regex/match-optimized/218 738s ok 521 /regex/match-optimized/219 738s ok 522 /regex/match-optimized/220 738s ok 523 /regex/match-optimized/221 738s ok 524 /regex/match-optimized/222 738s ok 525 /regex/match-optimized/223 738s ok 526 /regex/match-optimized/224 738s ok 527 /regex/match-optimized/225 738s ok 528 /regex/match-optimized/226 738s ok 529 /regex/match-optimized/227 738s ok 530 /regex/match-optimized/228 738s ok 531 /regex/match-optimized/229 738s ok 532 /regex/match-optimized/230 738s ok 533 /regex/match-optimized/231 738s ok 534 /regex/match-optimized/232 738s ok 535 /regex/match-optimized/233 738s ok 536 /regex/match-optimized/234 738s ok 537 /regex/match-optimized/235 738s ok 538 /regex/match-optimized/236 738s ok 539 /regex/match-optimized/237 738s ok 540 /regex/match-optimized/238 738s ok 541 /regex/match-optimized/239 738s ok 542 /regex/match-optimized/240 738s ok 543 /regex/match-optimized/241 738s ok 544 /regex/match-optimized/242 738s ok 545 /regex/match-optimized/243 738s ok 546 /regex/match-optimized/244 738s ok 547 /regex/match-optimized/245 738s ok 548 /regex/match-optimized/246 738s # End of match-optimized tests 738s # Start of fetch-all0 tests 738s ok 549 /regex/fetch-all0/335 738s ok 550 /regex/fetch-all0/336 738s # End of fetch-all0 tests 738s # Start of fetch-all1 tests 738s ok 551 /regex/fetch-all1/337 738s ok 552 /regex/fetch-all1/338 738s ok 553 /regex/fetch-all1/339 738s # End of fetch-all1 tests 738s # Start of fetch-all2 tests 738s ok 554 /regex/fetch-all2/340 738s ok 555 /regex/fetch-all2/341 738s ok 556 /regex/fetch-all2/342 738s # End of fetch-all2 tests 738s # Start of fetch-all3 tests 738s ok 557 /regex/fetch-all3/343 738s ok 558 /regex/fetch-all3/344 738s ok 559 /regex/fetch-all3/345 738s ok 560 /regex/fetch-all3/346 738s ok 561 /regex/fetch-all3/347 738s # End of fetch-all3 tests 738s # Start of split tests 738s # Start of simple0 tests 738s ok 562 /regex/split/simple0/348 738s ok 563 /regex/split/simple0/349 738s ok 564 /regex/split/simple0/364 738s ok 565 /regex/split/simple0/365 738s # End of simple0 tests 738s # Start of simple1 tests 738s ok 566 /regex/split/simple1/350 738s ok 567 /regex/split/simple1/351 738s # End of simple1 tests 738s # Start of simple2 tests 738s ok 568 /regex/split/simple2/352 738s ok 569 /regex/split/simple2/358 738s ok 570 /regex/split/simple2/360 738s # End of simple2 tests 738s # Start of simple3 tests 738s ok 571 /regex/split/simple3/353 738s ok 572 /regex/split/simple3/354 738s ok 573 /regex/split/simple3/355 738s ok 574 /regex/split/simple3/356 738s ok 575 /regex/split/simple3/357 738s ok 576 /regex/split/simple3/359 738s ok 577 /regex/split/simple3/361 738s ok 578 /regex/split/simple3/362 738s ok 579 /regex/split/simple3/363 738s # End of simple3 tests 738s # End of split tests 738s # Start of split0 tests 738s ok 580 /regex/split0/366 738s ok 581 /regex/split0/368 738s # End of split0 tests 738s # Start of full-split0 tests 738s ok 582 /regex/full-split0/367 738s ok 583 /regex/full-split0/369 738s ok 584 /regex/full-split0/370 738s ok 585 /regex/full-split0/371 738s ok 586 /regex/full-split0/372 738s # End of full-split0 tests 738s # Start of split1 tests 738s ok 587 /regex/split1/373 738s ok 588 /regex/split1/376 738s # End of split1 tests 738s # Start of full-split1 tests 738s ok 589 /regex/full-split1/374 738s ok 590 /regex/full-split1/375 738s ok 591 /regex/full-split1/377 738s ok 592 /regex/full-split1/378 738s ok 593 /regex/full-split1/404 738s # End of full-split1 tests 738s # Start of split2 tests 738s ok 594 /regex/split2/379 738s ok 595 /regex/split2/383 738s ok 596 /regex/split2/395 738s # End of split2 tests 738s # Start of full-split2 tests 738s ok 597 /regex/full-split2/380 738s ok 598 /regex/full-split2/381 738s ok 599 /regex/full-split2/382 738s ok 600 /regex/full-split2/384 738s ok 601 /regex/full-split2/396 738s ok 602 /regex/full-split2/399 738s ok 603 /regex/full-split2/405 738s # End of full-split2 tests 738s # Start of split3 tests 738s ok 604 /regex/split3/385 738s ok 605 /regex/split3/387 738s ok 606 /regex/split3/389 738s ok 607 /regex/split3/391 738s ok 608 /regex/split3/393 738s ok 609 /regex/split3/397 738s ok 610 /regex/split3/400 738s ok 611 /regex/split3/402 738s # End of split3 tests 738s # Start of full-split3 tests 738s ok 612 /regex/full-split3/386 738s ok 613 /regex/full-split3/388 738s ok 614 /regex/full-split3/390 738s ok 615 /regex/full-split3/392 738s ok 616 /regex/full-split3/394 738s ok 617 /regex/full-split3/398 738s ok 618 /regex/full-split3/401 738s ok 619 /regex/full-split3/403 738s ok 620 /regex/full-split3/406 738s ok 621 /regex/full-split3/407 738s # End of full-split3 tests 738s # Start of check-repacement tests 738s ok 622 /regex/check-repacement/408 738s ok 623 /regex/check-repacement/409 738s ok 624 /regex/check-repacement/410 738s ok 625 /regex/check-repacement/411 738s ok 626 /regex/check-repacement/412 738s ok 627 /regex/check-repacement/413 738s ok 628 /regex/check-repacement/414 738s ok 629 /regex/check-repacement/415 738s # End of check-repacement tests 738s # Start of expand tests 738s ok 630 /regex/expand/416 738s ok 631 /regex/expand/417 738s ok 632 /regex/expand/418 738s ok 633 /regex/expand/419 738s ok 634 /regex/expand/420 738s ok 635 /regex/expand/421 738s ok 636 /regex/expand/422 738s ok 637 /regex/expand/423 738s ok 638 /regex/expand/424 738s ok 639 /regex/expand/425 738s ok 640 /regex/expand/426 738s ok 641 /regex/expand/427 738s ok 642 /regex/expand/428 738s ok 643 /regex/expand/429 738s ok 644 /regex/expand/430 738s ok 645 /regex/expand/431 738s ok 646 /regex/expand/432 738s ok 647 /regex/expand/433 738s ok 648 /regex/expand/434 738s ok 649 /regex/expand/435 738s ok 650 /regex/expand/436 738s ok 651 /regex/expand/437 738s ok 652 /regex/expand/438 738s ok 653 /regex/expand/439 738s ok 654 /regex/expand/440 738s ok 655 /regex/expand/441 738s ok 656 /regex/expand/442 738s ok 657 /regex/expand/443 738s ok 658 /regex/expand/444 738s ok 659 /regex/expand/445 738s ok 660 /regex/expand/446 738s ok 661 /regex/expand/447 738s ok 662 /regex/expand/448 738s ok 663 /regex/expand/449 738s ok 664 /regex/expand/450 738s ok 665 /regex/expand/451 738s ok 666 /regex/expand/452 738s ok 667 /regex/expand/453 738s ok 668 /regex/expand/454 738s ok 669 /regex/expand/455 738s ok 670 /regex/expand/456 738s ok 671 /regex/expand/457 738s ok 672 /regex/expand/458 738s ok 673 /regex/expand/459 738s ok 674 /regex/expand/460 738s ok 675 /regex/expand/461 738s ok 676 /regex/expand/462 738s ok 677 /regex/expand/463 738s ok 678 /regex/expand/464 738s ok 679 /regex/expand/465 738s ok 680 /regex/expand/466 738s ok 681 /regex/expand/467 738s ok 682 /regex/expand/468 738s ok 683 /regex/expand/469 738s ok 684 /regex/expand/470 738s ok 685 /regex/expand/471 738s ok 686 /regex/expand/472 738s ok 687 /regex/expand/473 738s ok 688 /regex/expand/474 738s ok 689 /regex/expand/475 738s ok 690 /regex/expand/476 738s ok 691 /regex/expand/477 738s ok 692 /regex/expand/478 738s ok 693 /regex/expand/479 738s ok 694 /regex/expand/480 738s ok 695 /regex/expand/481 738s # End of expand tests 738s # Start of replace tests 738s ok 696 /regex/replace/482 738s ok 697 /regex/replace/483 738s ok 698 /regex/replace/484 738s ok 699 /regex/replace/485 738s ok 700 /regex/replace/486 738s ok 701 /regex/replace/487 738s ok 702 /regex/replace/488 738s ok 703 /regex/replace/489 738s ok 704 /regex/replace/490 738s ok 705 /regex/replace/491 738s ok 706 /regex/replace/492 738s ok 707 /regex/replace/493 738s ok 708 /regex/replace/494 738s ok 709 /regex/replace/495 738s ok 710 /regex/replace/496 738s ok 711 /regex/replace/497 738s ok 712 /regex/replace/498 738s ok 713 /regex/replace/499 738s ok 714 /regex/replace/500 738s ok 715 /regex/replace/501 738s ok 716 /regex/replace/502 738s ok 717 /regex/replace/503 738s ok 718 /regex/replace/504 738s ok 719 /regex/replace/505 738s ok 720 /regex/replace/506 738s ok 721 /regex/replace/507 738s ok 722 /regex/replace/508 738s ok 723 /regex/replace/509 738s # End of replace tests 738s # Start of replace-optimized tests 738s ok 724 /regex/replace-optimized/482 738s ok 725 /regex/replace-optimized/483 738s ok 726 /regex/replace-optimized/484 738s ok 727 /regex/replace-optimized/485 738s ok 728 /regex/replace-optimized/486 738s ok 729 /regex/replace-optimized/487 738s ok 730 /regex/replace-optimized/488 738s ok 731 /regex/replace-optimized/489 738s ok 732 /regex/replace-optimized/490 738s ok 733 /regex/replace-optimized/491 738s ok 734 /regex/replace-optimized/492 738s ok 735 /regex/replace-optimized/493 738s ok 736 /regex/replace-optimized/494 738s ok 737 /regex/replace-optimized/495 738s ok 738 /regex/replace-optimized/496 738s ok 739 /regex/replace-optimized/497 738s ok 740 /regex/replace-optimized/498 738s ok 741 /regex/replace-optimized/499 738s ok 742 /regex/replace-optimized/500 738s ok 743 /regex/replace-optimized/501 738s ok 744 /regex/replace-optimized/502 738s ok 745 /regex/replace-optimized/503 738s ok 746 /regex/replace-optimized/504 738s ok 747 /regex/replace-optimized/505 738s ok 748 /regex/replace-optimized/506 738s ok 749 /regex/replace-optimized/507 738s ok 750 /regex/replace-optimized/508 738s ok 751 /regex/replace-optimized/509 738s # End of replace-optimized tests 738s # Start of replace-literally tests 738s ok 752 /regex/replace-literally/510 738s ok 753 /regex/replace-literally/511 738s ok 754 /regex/replace-literally/512 738s ok 755 /regex/replace-literally/513 738s ok 756 /regex/replace-literally/514 738s ok 757 /regex/replace-literally/515 738s ok 758 /regex/replace-literally/516 738s ok 759 /regex/replace-literally/517 738s ok 760 /regex/replace-literally/518 738s ok 761 /regex/replace-literally/519 738s ok 762 /regex/replace-literally/520 738s ok 763 /regex/replace-literally/521 738s ok 764 /regex/replace-literally/522 738s ok 765 /regex/replace-literally/523 738s ok 766 /regex/replace-literally/524 738s ok 767 /regex/replace-literally/525 738s ok 768 /regex/replace-literally/526 738s ok 769 /regex/replace-literally/527 738s ok 770 /regex/replace-literally/528 738s ok 771 /regex/replace-literally/529 738s # End of replace-literally tests 738s # Start of string-number tests 738s ok 772 /regex/string-number/530 738s ok 773 /regex/string-number/531 738s ok 774 /regex/string-number/532 738s ok 775 /regex/string-number/533 738s ok 776 /regex/string-number/534 738s ok 777 /regex/string-number/535 738s ok 778 /regex/string-number/536 738s ok 779 /regex/string-number/537 738s ok 780 /regex/string-number/538 738s ok 781 /regex/string-number/539 738s ok 782 /regex/string-number/540 738s ok 783 /regex/string-number/541 738s ok 784 /regex/string-number/542 738s ok 785 /regex/string-number/543 738s ok - glib/regex.test 738s # Running test: glib/qdata.test 738s ok - glib/qdata.test 738s # Running test: glib/hash.test 738s ok 786 /regex/string-number/544 738s # End of string-number tests 738s # Start of escape_nul tests 738s ok 787 /regex/escape_nul/545 738s ok 788 /regex/escape_nul/546 738s ok 789 /regex/escape_nul/547 738s ok 790 /regex/escape_nul/548 738s ok 791 /regex/escape_nul/549 738s ok 792 /regex/escape_nul/550 738s ok 793 /regex/escape_nul/551 738s ok 794 /regex/escape_nul/552 738s ok 795 /regex/escape_nul/553 738s ok 796 /regex/escape_nul/554 738s ok 797 /regex/escape_nul/555 738s ok 798 /regex/escape_nul/556 738s ok 799 /regex/escape_nul/557 738s ok 800 /regex/escape_nul/558 738s ok 801 /regex/escape_nul/559 738s # End of escape_nul tests 738s # Start of escape tests 738s ok 802 /regex/escape/560 738s ok 803 /regex/escape/561 738s ok 804 /regex/escape/562 738s ok 805 /regex/escape/563 738s ok 806 /regex/escape/564 738s ok 807 /regex/escape/565 738s ok 808 /regex/escape/566 738s ok 809 /regex/escape/567 738s ok 810 /regex/escape/568 738s ok 811 /regex/escape/569 738s ok 812 /regex/escape/570 738s ok 813 /regex/escape/571 738s ok 814 /regex/escape/572 738s ok 815 /regex/escape/573 738s ok 816 /regex/escape/574 738s ok 817 /regex/escape/575 738s ok 818 /regex/escape/576 738s ok 819 /regex/escape/577 738s # End of escape tests 738s # Start of match-all0 tests 738s ok 820 /regex/match-all0/578 738s ok 821 /regex/match-all0/580 738s # End of match-all0 tests 738s # Start of match-all-full0 tests 738s ok 822 /regex/match-all-full0/579 738s ok 823 /regex/match-all-full0/581 738s ok 824 /regex/match-all-full0/582 738s ok 825 /regex/match-all-full0/583 738s # End of match-all-full0 tests 738s # Start of match-all1 tests 738s ok 826 /regex/match-all1/584 738s ok 827 /regex/match-all1/586 738s ok 828 /regex/match-all1/591 738s # End of match-all1 tests 738s # Start of match-all-full1 tests 738s ok 829 /regex/match-all-full1/585 738s ok 830 /regex/match-all-full1/587 738s ok 831 /regex/match-all-full1/588 738s ok 832 /regex/match-all-full1/589 738s ok 833 /regex/match-all-full1/590 738s ok 834 /regex/match-all-full1/592 738s # End of match-all-full1 tests 738s # Start of match-all2 tests 738s ok 835 /regex/match-all2/593 738s ok 836 /regex/match-all2/595 738s ok 837 /regex/match-all2/597 738s # End of match-all2 tests 738s # Start of match-all-full2 tests 738s ok 838 /regex/match-all-full2/594 738s ok 839 /regex/match-all-full2/596 738s ok 840 /regex/match-all-full2/598 738s # End of match-all-full2 tests 738s # Start of match-all3 tests 738s ok 841 /regex/match-all3/599 738s ok 842 /regex/match-all3/601 738s # End of match-all3 tests 738s # Start of match-all-full3 tests 738s ok 843 /regex/match-all-full3/600 738s ok 844 /regex/match-all-full3/602 738s # End of match-all-full3 tests 738s # Start of match-notempty tests 738s ok 845 /regex/match-notempty/603 738s # End of match-notempty tests 738s # Start of match-notempty-optimized tests 738s ok 846 /regex/match-notempty-optimized/603 738s # End of match-notempty-optimized tests 738s # Start of match-notempty-atstart tests 738s ok 847 /regex/match-notempty-atstart/604 738s # End of match-notempty-atstart tests 738s # Start of match-notempty-atstart-optimized tests 738s ok 848 /regex/match-notempty-atstart-optimized/604 738s # End of match-notempty-atstart-optimized tests 738s # End of regex tests 738s TAP version 14 738s # random seed: R02S608179b0006d719202249edd6ea1b4f2 738s 1..2 738s # Start of qdata tests 738s ok 1 /qdata/threaded 738s ok 2 /qdata/dup 738s # End of qdata tests 738s TAP version 14 738s # random seed: R02Sd59ac481c357af9b8d6e4e2b3bcffa54 738s 1..34 738s # Start of hash tests 738s ok 1 /hash/misc 738s ok 2 /hash/one 738s ok 3 /hash/honeyman 738s ok 4 /hash/direct 738s ok 5 /hash/direct2 738s ok 6 /hash/int 738s ok 7 /hash/int64 738s ok 8 /hash/double 738s ok 9 /hash/string 738s ok 10 /hash/set 738s ok 11 /hash/set-ref 738s ok 12 /hash/ref 738s ok 13 /hash/remove-all 738s ok 14 /hash/recursive-remove-all 738s ok 15 /hash/find 738s ok 16 /hash/foreach 738s ok 17 /hash/foreach-steal 738s ok 18 /hash/steal-extended 738s ok 19 /hash/steal-all-keys 738s ok 20 /hash/steal-all-values 738s ok 21 /hash/lookup-extended 738s ok 22 /hash/new-similar 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 738s ok 23 /hash/lookup-null-key 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 738s ok 24 /hash/destroy-modify 738s ok 25 /hash/consistency 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 738s ok 26 /hash/iter-replace 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 738s ok 27 /hash/set-insert-corruption 738s ok 28 /hash/set-to-strv 738s ok 29 /hash/get-keys-as-ptr-array 738s ok 30 /hash/get-values-as-ptr-array 738s ok 31 /hash/primes 738s # Start of int64 tests 738s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 738s ok 32 /hash/int64/collisions 738s # End of int64 tests 738s # Start of double tests 738s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 738s ok - glib/hash.test 738s ok 33 /hash/double/collisions 738s # End of double tests 738s # Start of recursive-remove-all tests 738s # End of recursive-remove-all tests 738s # Start of steal-extended tests 738s ok 34 /hash/steal-extended/optional 738s # End of steal-extended tests 738s # End of hash tests 738s # Running test: glib/cache.test 738s TAP version 14 738s # random seed: R02S74fdb31c0309520ae5b4262cdfe45dad 738s 1..1 738s # Start of cache tests 738s ok 1 /cache/basic 738s # End of cache tests 738s ok - glib/cache.test 738s # Running test: glib/converter.test 738s TAP version 14 738s # random seed: R02S47354f6ee1371d9b9fb58f2cab28e371 738s 1..3 738s # Start of converter tests 738s ok 1 /converter/bytes 738s ok 2 /converter/extra-bytes-at-end 738s ok 3 /converter/gzip-os-property 738s # End of converter tests 738s ok - glib/converter.test 738s # Running test: glib/memory-monitor-dbus.test 738s TAP version 13 738s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 738s 1..1 738s ok - glib/memory-monitor-dbus.test 738s # Running test: glib/gnotification.test 738s TAP version 14 738s # random seed: R02S255a3f9d66d7453550510a77b5c03115 738s 1..2 738s # Start of gnotification tests 738s ok - glib/gnotification.test 738s # Running test: glib/override.test 738s ok 1 /gnotification/basic 738s ok 2 /gnotification/properties 738s # End of gnotification tests 738s TAP version 14 738s # random seed: R02S2067b4573f92014b028354ef553f10b4 738s 1..1 738s # Start of gobject tests 738s # *** emitting foo on a TestA instance 738s # Expecting: TestA::foo,TestI::foo 738s # Got: TestA::foo,TestI::foo 738s # *** emitting bar on a TestA instance 738s # Expecting: TestA::bar 738s # Got: TestA::bar 738s # *** emitting baz on a TestA instance 738s # Expecting: TestA::baz 738s # Got: TestA::baz 738s # *** emitting foo on a TestB instance 738s # Expecting: TestB::foo,TestA::foo,TestI::foo 738s # Got: TestB::foo,TestA::foo,TestI::foo 738s # *** emitting bar on a TestB instance 738s # Expecting: TestB::bar,TestA::bar 738s # Got: TestB::bar,TestA::bar 738s # *** emitting baz on a TestB instance 738s # Expecting: TestB::baz,TestA::baz 738s # Got: TestB::baz,TestA::baz 738s # *** emitting foo on a TestC instance 738s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 738s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 738s # *** emitting bar on a TestC instance 738s # Expecting: TestC::bar,TestB::bar,TestA::bar 738s # Got: TestC::bar,TestB::bar,TestA::bar 738s # *** emitting baz on a TestC instance 738s # Expecting: TestC::baz,TestB::baz,TestA::baz 738s # Got: TestC::baz,TestB::baz,TestA::baz 738s ok 1 /gobject/override 738s # End of gobject tests 738s TAP version 14 738s # random seed: R02S48e5662502405da36849051fdab7e298 738s 1..8 738s # Start of g-file tests 738s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 738s ok 1 /g-file/test_g_file_new_null 738s ok 2 /g-file/test_g_file_new_for_path 738s ok 3 /g-file/test_g_file_new_for_uri 738s ok 4 /g-file/test_g_file_dup 738s ok 5 /g-file/test_g_file_get_parse_name_utf8 738s file:///tmp/test-tmp-glib_g-file.test-H9P0E3 738s file:///tmp 738s file:///tmp 738s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 738s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 738s ok 6 /g-file/test_g_file_new_for_commandline_arg 738s /dir1 /dir1/dir2/dir3/ 738s /dir1/ /dir1/dir2/dir3/ 738s /dir1 /dir1/dir2/dir3 738s /dir1/ /dir1/dir2/dir3 738s /tmp/ /something/ 738s /dir1/dir2 /dir1/ 738s //dir1/new //dir1/new/dir2/dir3 738s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 738s file:///dir1 file:///dir1/dir2/dir3/ 738s file:///dir1/ file:///dir1/dir2/dir3/ 738s file:///dir1 file:///dir1/dir2/dir3 738s file:///dir1/ file:///dir1/dir2/dir3 738s file:///tmp/ file:///something/ 738s file:///dir1/dir2 file:///dir1/ 738s file:////dir1/new file:////dir1/new/dir2/dir3 738s 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 738s ok 7 /g-file/test_g_file_has_prefix 738s ok 8 /g-file/test_g_file_get_parent_child 738s # End of g-file tests 738s TAP version 14 738s # random seed: R02Sc22e464f38fdcc2b245855004d5e0629 738s 1..14 738s # Start of slist tests 738s ok 1 /slist/sort 738s ok 2 /slist/sort-with-data 738s ok 3 /slist/insert-sorted 738s ok 4 /slist/insert-sorted-with-data 738s ok 5 /slist/reverse 738s ok 6 /slist/nth 738s ok 7 /slist/remove 738s ok 8 /slist/remove-all 738s ok 9 /slist/insert 738s ok 10 /slist/position 738s ok 11 /slist/concat 738s ok 12 /slist/copy 738s # Start of sort tests 738s ok 13 /slist/sort/stable 738s # End of sort tests 738s # Start of copy tests 738s ok 14 /slist/copy/deep 738s # End of copy tests 738s # End of slist tests 738s TAP version 14 738s # random seed: R02S7ad531df915a48567676d380cadd5d6c 738s 1..6 738s # Start of type tests 738s ok 1 /type/registration-serial 738s ok 2 /type/interface-prerequisite 738s ok 3 /type/interface-check 738s ok - glib/override.test 738s # Running test: glib/g-file.test 738s ok - glib/g-file.test 738s # Running test: glib/slist.test 738s ok - glib/slist.test 738s # Running test: glib/type.test 738s ok 4 /type/next-base 738s ok 5 /type/is-a 738s # Invalid types can’t be queried. 738s # Unclassed types can’t be queried. 738s ok 6 /type/query 738s # End of type tests 738s TAP version 14 738s # random seed: R02Sd75ce4594dfd488ff62cc863d11b2e3e 738s 1..29 738s # Start of type tests 738s ok 1 /type/fundamentals 738s ok 2 /type/qdata 738s ok 3 /type/query 738s ok 4 /type/class-private 738s # End of type tests 738s # Start of object tests 738s ok 5 /object/clear 738s ok 6 /object/clear-function 738s ok 7 /object/set 738s ok 8 /object/set-function 738s ok 9 /object/value 738s ok 10 /object/initially-unowned 738s ok 11 /object/weak-pointer 738s ok 12 /object/weak-ref 738s ok 13 /object/toggle-ref 738s ok 14 /object/qdata 738s ok 15 /object/qdata2 738s # Start of set tests 738s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 738s ok 16 /object/set/derived-type 738s # End of set tests 738s # Start of weak-pointer tests 738s ok 17 /object/weak-pointer/clear 738s ok 18 /object/weak-pointer/clear-function 738s ok 19 /object/weak-pointer/set 738s ok 20 /object/weak-pointer/set-function 738s # End of weak-pointer tests 738s # Start of weak-ref tests 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 738s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 738s ok 21 /object/weak-ref/on-dispose 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 738s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 738s ok 22 /object/weak-ref/on-run-dispose 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 738s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 738s ok 23 /object/weak-ref/on-toggle-notify 738s ok 24 /object/weak-ref/in-toggle-notify 738s ok 25 /object/weak-ref/many 738s # Start of concurrent tests 738s ok - glib/type.test 738s # Running test: glib/reference.test 738s ok 26 /object/weak-ref/concurrent/0 738s ok - glib/reference.test 738s # Running test: glib/memory-output-stream.test 738s ok 27 /object/weak-ref/concurrent/1 738s # End of concurrent tests 738s # End of weak-ref tests 738s # Start of toggle-ref tests 738s ok 28 /object/toggle-ref/ref-on-dispose 738s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 738s # End of toggle-ref tests 738s # End of object tests 738s TAP version 14 738s # random seed: R02Sf8b74540c22fefa64249ee5fbb75e348 738s 1..10 738s # Start of memory-output-stream tests 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 738s ok 1 /memory-output-stream/truncate 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 738s ok 2 /memory-output-stream/get-data-size 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 738s ok 3 /memory-output-stream/properties 738s ok 4 /memory-output-stream/write-bytes 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 738s ok 5 /memory-output-stream/write-null 738s ok 6 /memory-output-stream/writev 738s ok 7 /memory-output-stream/writev_nonblocking 738s ok 8 /memory-output-stream/steal_as_bytes 738s # Start of seek tests 738s ok 9 /memory-output-stream/seek/fixed 738s ok - glib/memory-output-stream.test 738s # Running test: glib/gdatetime.test 738s ok 10 /memory-output-stream/seek/resizable 738s # End of seek tests 738s # End of memory-output-stream tests 738s TAP version 14 738s # random seed: R02S063c8d3ae106bcbe7ec64954a00e83af 738s 1..68 738s # Start of GDateTime tests 738s # Bug Reference: http://bugzilla.gnome.org/702674 738s ok 1 /GDateTime/invalid 738s ok 2 /GDateTime/add_days 738s ok 3 /GDateTime/add_full 738s ok 4 /GDateTime/add_hours 738s ok 5 /GDateTime/add_minutes 738s ok 6 /GDateTime/add_months 738s ok 7 /GDateTime/add_seconds 738s ok 8 /GDateTime/add_weeks 738s ok 9 /GDateTime/add_years 738s ok 10 /GDateTime/compare 738s ok 11 /GDateTime/diff 738s ok 12 /GDateTime/equal 738s ok 13 /GDateTime/get_day_of_week 738s ok 14 /GDateTime/get_day_of_month 738s ok 15 /GDateTime/get_day_of_year 738s ok 16 /GDateTime/get_hour 738s ok 17 /GDateTime/get_microsecond 738s ok 18 /GDateTime/get_minute 738s ok 19 /GDateTime/get_month 738s ok 20 /GDateTime/get_second 738s ok 21 /GDateTime/get_utc_offset 738s ok 22 /GDateTime/get_year 738s ok 23 /GDateTime/hash 738s ok 24 /GDateTime/new_from_unix 738s ok 25 /GDateTime/new_from_unix_utc 738s ok 26 /GDateTime/new_from_timeval 738s ok 27 /GDateTime/new_from_timeval_utc 738s ok 28 /GDateTime/new_from_iso8601 738s ok 29 /GDateTime/new_full 738s ok 30 /GDateTime/now 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 738s ok 31 /GDateTime/test-6-days-until-end-of-the-month 738s # %a -> expected: Sat 738s # %a -> actual: Sat 738s # %A -> expected: Saturday 738s # %A -> actual: Saturday 738s # %b -> expected: Oct 738s # %b -> actual: Oct 738s # %B -> expected: October 738s # %B -> actual: October 738s # %d -> expected: 24 738s # %d -> actual: 24 738s # %d -> expected: 01 738s # %d -> actual: 01 738s # %e -> expected: 24 738s # %e -> actual: 24 738s # %e -> expected:  1 738s # %e -> actual:  1 738s # %f -> expected: 001000 738s # %f -> actual: 001000 738s # %h -> expected: Oct 738s # %h -> actual: Oct 738s # %H -> expected: 00 738s # %H -> actual: 00 738s # %H -> expected: 15 738s # %H -> actual: 15 738s # %I -> expected: 12 738s # %I -> actual: 12 738s # %I -> expected: 12 738s # %I -> actual: 12 738s # %I -> expected: 03 738s # %I -> actual: 03 738s # %j -> expected: 297 738s # %j -> actual: 297 738s # %k -> expected:  0 738s # %k -> actual:  0 738s # %k -> expected: 13 738s # %k -> actual: 13 738s # %l -> expected: 12 738s # %l -> actual: 12 738s # %I -> expected: 12 738s # %I -> actual: 12 738s # %l -> expected:  1 738s # %l -> actual:  1 738s # %l -> expected: 10 738s # %l -> actual: 10 738s # %m -> expected: 10 738s # %m -> actual: 10 738s # %M -> expected: 00 738s # %M -> actual: 00 738s # %p -> expected: AM 738s # %p -> actual: AM 738s # %p -> expected: PM 738s # %p -> actual: PM 738s # %P -> expected: am 738s # %P -> actual: am 738s # %P -> expected: pm 738s # %P -> actual: pm 738s # %r -> expected: 12:00:00 AM 738s # %r -> actual: 12:00:00 AM 738s # %r -> expected: 01:13:13 PM 738s # %r -> actual: 01:13:13 PM 738s # %R -> expected: 00:00 738s # %R -> actual: 00:00 738s # %R -> expected: 13:13 738s # %R -> actual: 13:13 738s # %S -> expected: 00 738s # %S -> actual: 00 738s # %t -> expected: 738s # %t -> actual: 738s # %u -> expected: 6 738s # %u -> actual: 6 738s # %x -> expected: 10/24/09 739s # %x -> actual: 10/24/09 739s # %X -> expected: 00:00:00 739s # %X -> actual: 00:00:00 739s # %X -> expected: 13:14:15 739s # %X -> actual: 13:14:15 739s # %y -> expected: 09 739s # %y -> actual: 09 739s # %Y -> expected: 2009 739s # %Y -> actual: 2009 739s # %% -> expected: % 739s # %% -> actual: % 739s # % -> expected: 739s # % -> actual: 739s # %9 -> expected: (null) 739s # %9 -> actual: (null) 739s # %Z -> expected: UTC 739s # %Z -> actual: UTC 739s # %#Z %Z -> expected: utc UTC 739s # %#Z %Z -> actual: utc UTC 739s ok 32 /GDateTime/printf 739s # %a -> expected: 土 739s # %a -> actual: 土 739s # %A -> expected: 土曜日 739s # %A -> actual: 土曜日 739s # %b -> expected: 10月 739s # %b -> actual: 10月 739s # %B -> expected: 10月 739s # %B -> actual: 10月 739s # %c -> expected: 2009年10月24日 00時00分00秒 739s # %c -> actual: 2009年10月24日 00時00分00秒 739s # %C -> expected: 20 739s # %C -> actual: 20 739s # %d -> expected: 24 739s # %d -> actual: 24 739s # %d -> expected: 01 739s # %d -> actual: 01 739s # %e -> expected: 24 739s # %e -> actual: 24 739s # %h -> expected: 10月 739s # %h -> actual: 10月 739s # %H -> expected: 00 739s # %H -> actual: 00 739s # %H -> expected: 15 739s # %H -> actual: 15 739s # %I -> expected: 12 739s # %I -> actual: 12 739s # %I -> expected: 12 739s # %I -> actual: 12 739s # %I -> expected: 03 739s # %I -> actual: 03 739s # %j -> expected: 297 739s # %j -> actual: 297 739s # %k -> expected:  0 739s # %k -> actual:  0 739s # %k -> expected: 13 739s # %k -> actual: 13 739s # %l -> expected: 12 739s # %l -> actual: 12 739s # %I -> expected: 12 739s # %I -> actual: 12 739s # %l -> expected:  1 739s # %l -> actual:  1 739s # %l -> expected: 10 739s # %l -> actual: 10 739s # %m -> expected: 10 739s # %m -> actual: 10 739s # %M -> expected: 00 739s # %M -> actual: 00 739s # %p -> expected: 午前 739s # %p -> actual: 午前 739s # %p -> expected: 午後 739s # %p -> actual: 午後 739s # %P -> expected: 午前 739s # %P -> actual: 午前 739s # %P -> expected: 午後 739s # %P -> actual: 午後 739s # %r -> expected: 午前12時00分00秒 739s # %r -> actual: 午前12時00分00秒 739s # %r -> expected: 午後01時13分13秒 739s # %r -> actual: 午後01時13分13秒 739s # %R -> expected: 00:00 739s # %R -> actual: 00:00 739s # %R -> expected: 13:13 739s # %R -> actual: 13:13 739s # %S -> expected: 00 739s # %S -> actual: 00 739s # %t -> expected: 739s # %t -> actual: 739s # %u -> expected: 6 739s # %u -> actual: 6 739s # %x -> expected: 2009年10月24日 739s # %x -> actual: 2009年10月24日 739s # %X -> expected: 00時00分00秒 739s # %X -> actual: 00時00分00秒 739s # %X -> expected: 13時14分15秒 739s # %X -> actual: 13時14分15秒 739s # %y -> expected: 09 739s # %y -> actual: 09 739s # %Y -> expected: 2009 739s # %Y -> actual: 2009 739s # %% -> expected: % 739s # %% -> actual: % 739s # % -> expected: 739s # % -> actual: 739s # %9 -> expected: (null) 739s # %9 -> actual: (null) 739s # %Ec -> expected: 2009年10月24日 00時00分00秒 739s # %Ec -> actual: 2009年10月24日 00時00分00秒 739s # %EC -> expected: 20 739s # %EC -> actual: 20 739s # %Ex -> expected: 2009年10月24日 739s # %Ex -> actual: 2009年10月24日 739s # %EX -> expected: 00時00分00秒 739s # %EX -> actual: 00時00分00秒 739s # %Ey -> expected: 09 739s # %Ey -> actual: 09 739s # %EY -> expected: 2009 739s # %EY -> actual: 2009 739s ok 33 /GDateTime/non_utf8_printf 739s # ąśćł -> expected: ąśćł 739s # ąśćł -> actual: ąśćł 739s # %H∶%M -> expected: 23∶15 739s # %H∶%M -> actual: 23∶15 739s # %H∶%M -> expected: 23∶15 739s # %H∶%M -> actual: 23∶15 739s ok 34 /GDateTime/format_unrepresentable 739s ok 35 /GDateTime/format_iso8601 739s ok 36 /GDateTime/strftime 739s # %d -> expected: 01 739s # %d -> actual: 01 739s # %_d -> expected: 1 739s # %_d -> actual: 1 739s # %-d -> expected: 1 739s # %-d -> actual: 1 739s # %0d -> expected: 01 739s # %0d -> actual: 01 739s # %d -> expected: 21 739s # %d -> actual: 21 739s # %_d -> expected: 21 739s # %_d -> actual: 21 739s # %-d -> expected: 21 739s # %-d -> actual: 21 739s # %0d -> expected: 21 739s # %0d -> actual: 21 739s # %e -> expected:  1 739s # %e -> actual:  1 739s # %_e -> expected: 1 739s # %_e -> actual: 1 739s # %-e -> expected: 1 739s # %-e -> actual: 1 739s # %0e -> expected: 01 739s # %0e -> actual: 01 739s # %e -> expected: 21 739s # %e -> actual: 21 739s # %_e -> expected: 21 739s # %_e -> actual: 21 739s # %-e -> expected: 21 739s # %-e -> actual: 21 739s # %0e -> expected: 21 739s # %0e -> actual: 21 739s # %a -> expected: Thu 739s # %a -> actual: Thu 739s # %^a -> expected: THU 739s # %^a -> actual: THU 739s # %#a -> expected: THU 739s # %#a -> actual: THU 739s # %A -> expected: Thursday 739s # %A -> actual: Thursday 739s # %^A -> expected: THURSDAY 739s # %^A -> actual: THURSDAY 739s # %#A -> expected: THURSDAY 739s # %#A -> actual: THURSDAY 739s # %b -> expected: Jan 739s # %b -> actual: Jan 739s # %^b -> expected: JAN 739s # %^b -> actual: JAN 739s # %#b -> expected: JAN 739s # %#b -> actual: JAN 739s # %B -> expected: January 739s # %B -> actual: January 739s # %^B -> expected: JANUARY 739s # %^B -> actual: JANUARY 739s # %#B -> expected: JANUARY 739s # %#B -> actual: JANUARY 739s # %h -> expected: Jan 739s # %h -> actual: Jan 739s # %^h -> expected: JAN 739s # %^h -> actual: JAN 739s # %#h -> expected: JAN 739s # %#h -> actual: JAN 739s # %Z -> expected: UTC 739s # %Z -> actual: UTC 739s # %^Z -> expected: UTC 739s # %^Z -> actual: UTC 739s # %#Z -> expected: utc 739s # %#Z -> actual: utc 739s # %H -> expected: 01 739s # %H -> actual: 01 739s # %_H -> expected: 1 739s # %_H -> actual: 1 739s # %-H -> expected: 1 739s # %-H -> actual: 1 739s # %0H -> expected: 01 739s # %0H -> actual: 01 739s # %H -> expected: 21 739s # %H -> actual: 21 739s # %_H -> expected: 21 739s # %_H -> actual: 21 739s # %-H -> expected: 21 739s # %-H -> actual: 21 739s # %0H -> expected: 21 739s # %0H -> actual: 21 739s # %I -> expected: 01 739s # %I -> actual: 01 739s # %_I -> expected: 1 739s # %_I -> actual: 1 739s # %-I -> expected: 1 739s # %-I -> actual: 1 739s # %0I -> expected: 01 739s # %0I -> actual: 01 739s # %I -> expected: 11 739s # %I -> actual: 11 739s # %_I -> expected: 11 739s # %_I -> actual: 11 739s # %-I -> expected: 11 739s # %-I -> actual: 11 739s # %0I -> expected: 11 739s # %0I -> actual: 11 739s # %k -> expected:  1 739s # %k -> actual:  1 739s # %_k -> expected: 1 739s # %_k -> actual: 1 739s # %-k -> expected: 1 739s # %-k -> actual: 1 739s # %0k -> expected: 01 739s # %0k -> actual: 01 739s # %l -> expected:  1 739s # %l -> actual:  1 739s # %_l -> expected: 1 739s # %_l -> actual: 1 739s # %-l -> expected: 1 739s # %-l -> actual: 1 739s # %0l -> expected: 01 739s # %0l -> actual: 01 739s # %l -> expected: 11 739s # %l -> actual: 11 739s # %_l -> expected: 11 739s # %_l -> actual: 11 739s # %-l -> expected: 11 739s # %-l -> actual: 11 739s # %0l -> expected: 11 739s # %0l -> actual: 11 739s # %p -> expected: AM 739s # %p -> actual: AM 739s # %^p -> expected: AM 739s # %^p -> actual: AM 739s # %#p -> expected: am 739s # %#p -> actual: am 739s # %P -> expected: am 739s # %P -> actual: am 739s # %^P -> expected: AM 739s # %^P -> actual: AM 739s # %#P -> expected: am 739s # %#P -> actual: am 739s # %OH -> expected: ۲۳ 739s # %OH -> actual: ۲۳ 739s # %OI -> expected: ۱۱ 739s # %OI -> actual: ۱۱ 739s # %OM -> expected: ۰۰ 739s # %OM -> actual: ۰۰ 739s # %Om -> expected: ۰۷ 739s # %Om -> actual: ۰۷ 739s # %0Om -> expected: ۰۷ 739s # %0Om -> actual: ۰۷ 739s # %-Om -> expected: ۷ 739s # %-Om -> actual: ۷ 739s # %_Om -> expected: ۷ 739s # %_Om -> actual: ۷ 739s # %c -> expected: thu 01 jan 2009 00:00:00 utc 739s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 739s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 739s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 739s # %C -> expected: 20 739s # %C -> actual: 20 739s # %EC -> expected: 20 739s # %EC -> actual: 20 739s # %x -> expected: 02/01/09 739s # %x -> actual: 02/01/09 739s # %Ex -> expected: 02/01/09 739s # %Ex -> actual: 02/01/09 739s # %X -> expected: 01:02:03 739s # %X -> actual: 01:02:03 739s # %EX -> expected: 01:02:03 739s # %EX -> actual: 01:02:03 739s # %y -> expected: 09 739s # %y -> actual: 09 739s # %Ey -> expected: 09 739s # %Ey -> actual: 09 739s # %Y -> expected: 2009 739s # %Y -> actual: 2009 739s # %EY -> expected: 2009 739s # %EY -> actual: 2009 739s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 739s # Bug Reference: http://bugzilla.gnome.org/749206 739s # %B -> expected: January 739s # %B -> actual: January 739s # %OB -> expected: February 739s # %OB -> actual: February 739s # %b -> expected: Mar 739s # %b -> actual: Mar 739s # %Ob -> expected: Apr 739s # %Ob -> actual: Apr 739s # %h -> expected: May 739s # %h -> actual: May 739s # %Oh -> expected: Jun 739s # %Oh -> actual: Jun 739s # %B -> expected: Juli 739s # %B -> actual: Juli 739s # %OB -> expected: August 739s # %OB -> actual: August 739s # %b -> expected: Sep 739s # %b -> actual: Sep 739s # %Ob -> expected: Okt 739s # %Ob -> actual: Okt 739s # %h -> expected: Nov 739s # %h -> actual: Nov 739s # %Oh -> expected: Dez 739s # %Oh -> actual: Dez 739s # %B -> expected: enero 739s # %B -> actual: enero 739s # %OB -> expected: febrero 739s # %OB -> actual: febrero 739s # %b -> expected: mar 739s # %b -> actual: mar 739s # %Ob -> expected: abr 739s # %Ob -> actual: abr 739s # %h -> expected: may 739s # %h -> actual: may 739s # %Oh -> expected: jun 739s # %Oh -> actual: jun 739s # %B -> expected: juillet 739s # %B -> actual: juillet 739s # %OB -> expected: août 739s # %OB -> actual: août 739s # %b -> expected: sept. 739s # %b -> actual: sept. 739s # %Ob -> expected: oct. 739s # %Ob -> actual: oct. 739s # %h -> expected: nov. 739s # %h -> actual: nov. 739s # %Oh -> expected: déc. 739s # %Oh -> actual: déc. 739s # %B -> expected: Ιανουαρίου 739s # %B -> actual: Ιανουαρίου 739s # %B -> expected: Φεβρουαρίου 739s # %B -> actual: Φεβρουαρίου 739s # %B -> expected: Μαρτίου 739s # %B -> actual: Μαρτίου 739s # %OB -> expected: Απρίλιος 739s # %OB -> actual: Απρίλιος 739s # %OB -> expected: Μάιος 739s # %OB -> actual: Μάιος 739s # %OB -> expected: Ιούνιος 739s # %OB -> actual: Ιούνιος 739s # %b -> expected: Ιουλ 739s # %b -> actual: Ιουλ 739s # %Ob -> expected: Αύγ 739s # %Ob -> actual: Αύγ 739s # %B -> expected: svibnja 739s # %B -> actual: svibnja 739s # %B -> expected: lipnja 739s # %B -> actual: lipnja 739s # %B -> expected: srpnja 739s # %B -> actual: srpnja 739s # %OB -> expected: Kolovoz 739s # %OB -> actual: kolovoz 739s # %OB -> expected: Rujan 739s # %OB -> actual: rujan 739s # %OB -> expected: Listopad 739s # %OB -> actual: listopad 739s # %b -> expected: Stu 739s # %b -> actual: stu 739s # %Ob -> expected: Pro 739s # %Ob -> actual: pro 739s # %B -> expected: sausio 739s # %B -> actual: sausio 739s # %B -> expected: vasario 739s # %B -> actual: vasario 739s # %B -> expected: kovo 739s # %B -> actual: kovo 739s # %OB -> expected: balandis 739s # %OB -> actual: balandis 739s # %OB -> expected: gegužė 739s # %OB -> actual: gegužė 739s # %OB -> expected: birželis 739s # %OB -> actual: birželis 739s # %b -> expected: liep. 739s # %b -> actual: liep. 739s # %Ob -> expected: rugp. 739s # %Ob -> actual: rugp. 739s # %B -> expected: maja 739s # %B -> actual: maja 739s # %B -> expected: czerwca 739s # %B -> actual: czerwca 739s # %B -> expected: lipca 739s # %B -> actual: lipca 739s # %OB -> expected: sierpień 739s # %OB -> actual: sierpień 739s # %OB -> expected: wrzesień 739s # %OB -> actual: wrzesień 739s # %OB -> expected: październik 739s # %OB -> actual: październik 739s # %b -> expected: lis 739s # %b -> actual: lis 739s # %Ob -> expected: gru 739s # %Ob -> actual: gru 739s # %B -> expected: января 739s # %B -> actual: января 739s # %B -> expected: февраля 739s # %B -> actual: февраля 739s # %B -> expected: марта 739s # %B -> actual: марта 739s # %OB -> expected: Апрель 739s # %OB -> actual: Апрель 739s # %OB -> expected: Май 739s # %OB -> actual: Май 739s # %OB -> expected: Июнь 739s # %OB -> actual: Июнь 739s # %b -> expected: июл 739s # %b -> actual: июл 739s # %Ob -> expected: авг 739s # %Ob -> actual: авг 739s # %b -> expected: мая 739s # %b -> actual: мая 739s # %Ob -> expected: май 739s # %Ob -> actual: май 739s ok 38 /GDateTime/month_names 739s ok 39 /GDateTime/to_local 739s ok 40 /GDateTime/to_unix 739s ok 41 /GDateTime/to_timeval 739s ok 42 /GDateTime/to_utc 739s ok 43 /GDateTime/now_utc 739s ok 44 /GDateTime/dst 739s # Bug Reference: http://bugzilla.gnome.org/642935 739s ok 45 /GDateTime/test_z 740s ok 46 /GDateTime/test-all-dates 740s # slow test /GDateTime/test-all-dates executed in 1.23 secs 740s ok 47 /GDateTime/unix_usec 740s # Start of new_from_unix tests 740s # Bug Reference: http://bugzilla.gnome.org/782089 740s ok 48 /GDateTime/new_from_unix/overflow 740s # End of new_from_unix tests 740s # Start of new_from_timeval tests 740s # Bug Reference: http://bugzilla.gnome.org/782089 740s # Maximum supported GTimeVal.tv_sec = 253402300799 740s ok 49 /GDateTime/new_from_timeval/overflow 740s # End of new_from_timeval tests 740s # Start of new_from_iso8601 tests 740s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 740s # Vector 0: 1990-11-01T10:21:17Z 740s # Vector 1: 19901101T102117Z 740s # Vector 2: 1970-01-01T00:00:17.12Z 740s # Vector 3: 1970-01-01T00:00:17.1234Z 740s # Vector 4: 1970-01-01T00:00:17.123456Z 740s # Vector 5: 1980-02-22T12:36:00+02:00 740s # Vector 6: 1990-12-31T15:59:60-08:00 740s # Vector 7: 740s # Vector 8: x 740s # Vector 9: 123x 740s # Vector 10: 2001-10+x 740s # Vector 11: 1980-02-22T 740s # Vector 12: 2001-10-08Tx 740s # Vector 13: 2001-10-08T10:11x 740s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 740s # Vector 15: 1980-02-22T10:36:00Zulu 740s # Vector 16: 2T0+819855292164632335 740s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 740s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 740s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 740s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 740s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 740s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 740s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 740s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 740s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 740s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 740s # Vector 27: 20180803T140805.446178377+0100 740s # Vector 28: 21474836480803T140805.446178377+0100 740s # Vector 29: 20181303T140805.446178377+0100 740s # Vector 30: 20180003T140805.446178377+0100 740s # Vector 31: 20180800T140805.446178377+0100 740s # Vector 32: 20180832T140805.446178377+0100 740s # Vector 33: 20180803T240805.446178377+0100 740s # Vector 34: 20180803T146005.446178377+0100 740s # Vector 35: 20180803T140863.446178377+0100 740s # Vector 36: 20180803T140805.446178377+10000 740s # Vector 37: -0005-01-01T00:00:00Z 740s # Vector 38: 2018-08-06 740s # Vector 39: 20180803T140805,446178377+0100 740s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 740s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 740s # Vector 42: 1990-11-01T10:21:17 740s # Vector 43: 1719W462 407777-07 740s # Vector 44: 4011090 260528Z 740s # Vector 45: 0000W011 228214-22 740s ok 50 /GDateTime/new_from_iso8601/2 740s # End of new_from_iso8601 tests 740s # Start of format_mixed tests 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 740s # %b -> expected: mar 740s # %b -> actual: Mar 740s # %B -> expected: march 740s # %B -> actual: March 740s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 740s # %b -> expected: mar 740s # %b -> actual: Mar 740s # %B -> expected: march 740s # %B -> actual: March 740s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 740s # %b -> expected: Mär 740s # %b -> actual: Mär 740s # %B -> expected: März 740s # %B -> actual: März 740s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 740s # %b -> expected: Mär 740s # %b -> actual: Mär 740s # %B -> expected: März 740s # %B -> actual: März 740s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 740s # End of format_mixed tests 740s # Start of strftime tests 740s # %r -> expected: (null) 740s # %r -> actual: (null) 740s ok 55 /GDateTime/strftime/error_handling 740s # End of strftime tests 740s # Start of eras tests 740s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 740s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 740s # Vector 0: 740s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 740s # 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年 740s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 740s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 740s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 740s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 740s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 740s # Vector 8: + 740s # Vector 9: +: 740s # Vector 10: +:: 740s # Vector 11: +:200 740s # Vector 12: +:2nonsense 740s ok - glib/gdatetime.test 740s # Running test: glib/socket-address.test 740s ok - glib/socket-address.test 740s # Running test: glib/cxx-03.test 740s ok - glib/cxx-03.test 740s # Running test: glib/testfilemonitor.test 740s ok - glib/testfilemonitor.test 740s # Running test: glib/portal-support-none.test 740s ok - glib/portal-support-none.test 740s # Running test: glib/filenamecompleter.test 740s ok - glib/filenamecompleter.test 740s # Running test: glib/once.test 740s ok - glib/once.test 740s # Running test: glib/data-input-stream.test 740s # Vector 13: +:2nonsense: 740s # Vector 14: +:2: 740s # Vector 15: +:2:: 740s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 740s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 740s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 740s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 740s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 740s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 740s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 740s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 740s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 740s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 740s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 740s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 740s # Vector 28: +:2:2020/01/01 740s # Vector 29: +:2:2020/01/01: 740s # Vector 30: +:2:2020/01/01:: 740s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 740s # Vector 32: +:2:2020/01/01:+* 740s # Vector 33: +:2:2020/01/01:+*: 740s # Vector 34: +:2:2020/01/01:+*:: 740s # Vector 35: +:2:2020/01/01:+*:令和 740s # Vector 36: +:2:2020/01/01:+*:令和: 740s # Vector 37: +:2:2020/01/01:+*:令和:; 740s ok 58 /GDateTime/eras/parsing 740s # End of eras tests 740s # End of GDateTime tests 740s # Start of GTimeZone tests 740s ok 59 /GTimeZone/find-interval 740s ok 60 /GTimeZone/adjust-time 740s ok 61 /GTimeZone/no-header 740s ok 62 /GTimeZone/no-header-identifier 740s ok 63 /GTimeZone/posix-parse 740s # Bug Reference: http://bugzilla.gnome.org/697715 740s ok 64 /GTimeZone/floating-point 740s # System time zone identifier: Etc/UTC 740s ok 65 /GTimeZone/identifier 740s # Vector 0: -158400 740s # Vector 1: -10000 740s # Vector 2: -3600 740s # Vector 3: -61 740s # Vector 4: -60 740s # Vector 5: -59 740s # Vector 6: 0 740s # Vector 7: 59 740s # Vector 8: 60 740s # Vector 9: 61 740s # Vector 10: 3600 740s # Vector 11: 10000 740s # Vector 12: 158400 740s ok 66 /GTimeZone/new-offset 740s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 740s ok 67 /GTimeZone/parse-rfc8536 740s # /GTimeZone/caching summary: GTimeZone instances are cached 740s ok 68 /GTimeZone/caching 740s # End of GTimeZone tests 740s TAP version 14 740s # random seed: R02S773eb51f607a0cf0c00dee1194c1e8aa 740s 1..2 740s # Start of socket tests 740s # Start of address tests 740s # Start of unix tests 740s ok 1 /socket/address/unix/construct 740s ok 2 /socket/address/unix/to-string 740s # End of unix tests 740s # End of address tests 740s # End of socket tests 740s TAP version 14 740s # random seed: R02S5230bdeb7887c166862113a94d0ab0d5 740s 1..2 740s # Start of gtask tests 740s # 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. 740s ok 1 /gtask/name 740s # Start of name tests 740s # 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. 740s ok 2 /gtask/name/macro-wrapper 740s # End of name tests 740s # End of gtask tests 740s TAP version 14 740s # random seed: R02S4e0ae2b7efaacfc32c96530416d6a0c2 740s 1..8 740s # Start of monitor tests 740s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 740s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 740s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s # Start of file tests 740s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 740s # End of file tests 740s # End of monitor tests 740s TAP version 14 740s # random seed: R02Sad575a9031c82594373f0cdde8fabc72 740s 1..1 740s # Start of portal-support tests 740s ok 1 /portal-support/none 740s # End of portal-support tests 740s TAP version 14 740s # random seed: R02S5dd209f94409fc0813409d907fcf34b9 740s 1..1 740s # Start of filenamecompleter tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_ZKFQE3/filenamecompleter/basic/.dirs/runtime 740s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 740s ok 1 /filenamecompleter/basic 740s # End of filenamecompleter tests 740s TAP version 14 740s # random seed: R02S332620d54cfc799f201e2b5b54108d8f 740s 1..5 740s # Start of once tests 740s # /once/single-threaded summary: Test g_once() usage from a single thread 740s ok 1 /once/single-threaded 740s # /once/multi-threaded summary: Test g_once() usage from multiple threads 740s ok 2 /once/multi-threaded 740s # End of once tests 740s # Start of once-init tests 740s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 740s ok 3 /once-init/single-threaded 740s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 740s ok 4 /once-init/multi-threaded 740s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 740s ok 5 /once-init/string 740s # End of once-init tests 740s TAP version 14 740s # random seed: R02S40fccb17ce60533f720b3e5895783f53 740s 1..10 740s # Start of data-input-stream tests 740s ok 1 /data-input-stream/basic 740s ok 2 /data-input-stream/read-lines-LF 740s ok 3 /data-input-stream/read-lines-LF-valid-utf8 740s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 740s ok 5 /data-input-stream/read-lines-CR 740s ok 6 /data-input-stream/read-lines-CR-LF 740s ok 7 /data-input-stream/read-lines-any 740s ok 8 /data-input-stream/read-until 740s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 740s # Test vector 1: {"key": "value"}? and ? 740s ok 9 /data-input-stream/read-upto 740s ok 10 /data-input-stream/read-int 740s # End of data-input-stream tests 740s ok - glib/data-input-stream.test 740s # Running test: glib/singleton.test 740s TAP version 14 740s # random seed: R02Se536427e8078ad6201098e1770da2754 740s ok - glib/singleton.test 740s 1..2 740s # Start of gobject tests 740s # Start of singleton tests 740s ok 1 /gobject/singleton/construction 740s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 740s ok 2 /gobject/singleton/construct-property 740s # End of singleton tests 740s # End of gobject tests 740s # Running test: glib/gdbus-peer.test 740s TAP version 14 740s # random seed: R02Sde263d5872bf624bb3696b00ebc0e4e3 740s 1..12 740s # Start of gdbus tests 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/.dirs/runtime 740s # Testing with unix:dir address 740s # Testing with unix:tmpdir address 740s # Testing with unix:path address 740s ok 1 /gdbus/peer-to-peer 740s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/home 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/cache 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/system-config2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/config 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/system-data2 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/data 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/state 740s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/delayed-message-processing/.dirs/runtime 740s # Testing with unix:dir address 741s ok 2 /gdbus/delayed-message-processing 741s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/nonce-tcp/.dirs/runtime 741s ok 3 /gdbus/nonce-tcp 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/tcp-anonymous/.dirs/runtime 741s ok 4 /gdbus/tcp-anonymous 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/credentials/.dirs/runtime 741s ok 5 /gdbus/credentials 741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/home 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/cache 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/system-config2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/config 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/system-data2 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/data 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/state 741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/codegen-peer-to-peer/.dirs/runtime 741s # Testing with unix:dir address 741s # Machine ID: c4fd827be9a7482d9481bb0bd863be56 741s # Executing: glib/gdbus-peer.test 742s ok 6 /gdbus/codegen-peer-to-peer 742s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 742s # Start of peer-to-peer tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/signals/.dirs/runtime 742s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 742s # Testing with unix:dir address 742s ok 7 /gdbus/peer-to-peer/signals 742s # Start of invalid tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 742s ok 8 /gdbus/peer-to-peer/invalid/server 742s # Start of conn tests 742s # Start of stream tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 742s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 742s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 742s # End of stream tests 742s # Start of addr tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 742s ok - glib/gdbus-peer.test 742s # Running test: glib/permission.test 742s ok - glib/permission.test 742s # Running test: glib/gdbus-proxy-well-known-name.test 742s ok - glib/gdbus-proxy-well-known-name.test 742s # Running test: glib/gvariant.test 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 742s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W87ME3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 742s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 742s # End of addr tests 742s # End of conn tests 742s # End of invalid tests 742s # End of peer-to-peer tests 742s # End of gdbus tests 742s TAP version 14 742s # random seed: R02S432eb230fcc37718f55d3b55622bdec4 742s 1..1 742s # Start of permission tests 742s ok 1 /permission/simple 742s # End of permission tests 742s TAP version 14 742s # random seed: R02Se1f89cee9c6ed8280e599b573a350422 742s 1..1 742s # Start of gdbus tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_NQWJE3/gdbus/proxy-well-known-name/.dirs/runtime 742s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 742s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 742s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 742s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 742s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 742s ok 1 /gdbus/proxy-well-known-name 742s # End of gdbus tests 742s TAP version 14 742s # random seed: R02S7056ef950e7d8c0842152eeef1b6dbba 742s 1..69 742s # Start of gvariant tests 742s ok 1 /gvariant/type 742s ok 2 /gvariant/typeinfo 742s ok 3 /gvariant/string 742s ok 4 /gvariant/utf8 742s ok 5 /gvariant/utf8-new-strings 742s ok 6 /gvariant/containers 742s ok 7 /gvariant/format-strings 742s ok 8 /gvariant/invalid-varargs 742s ok 9 /gvariant/varargs 742s ok 10 /gvariant/valist 742s ok 11 /gvariant/builder-memory 742s ok 12 /gvariant/hashing 742s ok 13 /gvariant/byteswap 742s ok 14 /gvariant/parser 742s ok 15 /gvariant/parse-failures 742s ok 16 /gvariant/parse-positional 742s ok 17 /gvariant/floating 742s ok 18 /gvariant/bytestring 742s ok 19 /gvariant/lookup-value 742s ok 20 /gvariant/lookup 742s ok 21 /gvariant/compare 742s ok 22 /gvariant/equal 742s ok 23 /gvariant/fixed-array 742s ok 24 /gvariant/check-format-string 742s ok 25 /gvariant/checksum-basic 742s ok 26 /gvariant/checksum-nested 742s ok 27 /gvariant/gbytes 742s ok 28 /gvariant/print-context 742s ok 29 /gvariant/error-quark 742s ok 30 /gvariant/stack-builder-init 742s ok 31 /gvariant/stack-builder-init-static 742s ok 32 /gvariant/stack-builder-init-unset 742s ok 33 /gvariant/stack-dict-init 742s ok 34 /gvariant/unaligned-construction 742s # Start of type tests 742s # Start of string-scan tests 742s # Start of recursion tests 742s ok 35 /gvariant/type/string-scan/recursion/tuple 742s ok 36 /gvariant/type/string-scan/recursion/array 742s # End of recursion tests 742s # End of string-scan tests 742s # End of type tests 742s # Start of serialiser tests 742s ok 37 /gvariant/serialiser/maybe 743s ok 38 /gvariant/serialiser/array 743s ok 39 /gvariant/serialiser/tuple 743s ok 40 /gvariant/serialiser/variant 743s ok 41 /gvariant/serialiser/strings 745s ok 42 /gvariant/serialiser/byteswap 745s # slow test /gvariant/serialiser/byteswap executed in 2.28 secs 745s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 745s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 745s ok 43 /gvariant/serialiser/children 745s # Start of byteswap tests 745s ok 44 /gvariant/serialiser/byteswap/zero-sized 745s # End of byteswap tests 745s # Start of fuzz tests 745s ok 45 /gvariant/serialiser/fuzz/1% 746s ok 46 /gvariant/serialiser/fuzz/5% 746s ok 47 /gvariant/serialiser/fuzz/9% 746s ok 48 /gvariant/serialiser/fuzz/13% 746s # Executing: glib/gvariant.test 746s ok 49 /gvariant/serialiser/fuzz/17% 746s # End of fuzz tests 746s # End of serialiser tests 746s # Start of utf8 tests 746s # Start of subprocess tests 746s # End of subprocess tests 746s # End of utf8 tests 746s # Start of varargs tests 746s # Start of subprocess tests 746s # End of subprocess tests 746s # End of varargs tests 746s # Start of byteswap tests 746s # /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. 746s ok 50 /gvariant/byteswap/non-normal-non-aligned 746s # End of byteswap tests 746s # Start of parser tests 746s ok 51 /gvariant/parser/integer-bounds 746s ok 52 /gvariant/parser/recursion 746s # Start of recursion tests 746s ok 53 /gvariant/parser/recursion/typedecls 746s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 746s # Text form 0: @mmmu 5 746s # Text form 1: @mmmas ['hello'] 746s # Text form 2: @mmmu just just nothing 746s # Text form 3: @mmmas just just nothing 746s # Text form 4: @mmmu just nothing 746s # Text form 5: @mmmas just nothing 746s ok - glib/gvariant.test 746s # Running test: glib/gsocketclient-slow.test 746s # Text form 6: @mmmu nothing 746s # Text form 7: @mmmas nothing 746s ok 54 /gvariant/parser/recursion/maybes 746s # End of recursion tests 746s # End of parser tests 746s # Start of parse tests 746s # Start of subprocess tests 746s # End of subprocess tests 746s # End of parse tests 746s # Start of normal-checking tests 746s ok 55 /gvariant/normal-checking/tuples 746s ok 56 /gvariant/normal-checking/array-offsets 746s ok 57 /gvariant/normal-checking/array-offsets2 746s ok 58 /gvariant/normal-checking/tuple-offsets 746s ok 59 /gvariant/normal-checking/tuple-offsets2 746s ok 60 /gvariant/normal-checking/tuple-offsets3 746s ok 61 /gvariant/normal-checking/tuple-offsets4 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 746s ok 62 /gvariant/normal-checking/tuple-offsets5 746s ok 63 /gvariant/normal-checking/empty-object-path 746s # Start of array-offsets tests 746s ok 64 /gvariant/normal-checking/array-offsets/overlapped 746s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 746s # End of array-offsets tests 746s # Start of tuple-offsets tests 746s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 746s # End of tuple-offsets tests 746s # End of normal-checking tests 746s # Start of recursion-limits tests 746s ok 67 /gvariant/recursion-limits/variant-in-variant 746s ok 68 /gvariant/recursion-limits/array-in-variant 746s # End of recursion-limits tests 746s # End of gvariant tests 746s # Start of gvarianttype tests 746s ok 69 /gvarianttype/hash 746s # End of gvarianttype tests 746s TAP version 14 746s # random seed: R02Sec834a240526382b4f6e6425320306c9 746s 1..4 746s # Start of socket-client tests 746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 746s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 746s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa305cf8e0 and GSocketClientAsyncConnectData 0x2aa305ca520 746s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 746s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 746s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa305d3540 for GSocketClientAsyncConnectData 0x2aa305ca520 746s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 747s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 747s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 747s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 747s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 747s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 747s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa305d3540 for GSocketClientAsyncConnectData 0x2aa305ca520 747s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 747s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 747s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 747s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 747s ok 1 /socket-client/connection-fail 747s # slow test /socket-client/connection-fail executed in 1.20 secs 747s # Start of happy-eyeballs tests 747s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa305d20d0 and GSocketClientAsyncConnectData 0x2aa305d3070 747s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 747s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 747s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa305d6340 for GSocketClientAsyncConnectData 0x2aa305d3070 747s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 748s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 748s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 748s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 748s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 748s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 748s ok 2 /socket-client/happy-eyeballs/slow 748s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 748s # Start of cancellation tests 748s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa305d2d50 and GSocketClientAsyncConnectData 0x2aa305d65e0 748s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 748s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 748s ok 3 /socket-client/happy-eyeballs/cancellation/instant 748s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa305d1ff0 and GSocketClientAsyncConnectData 0x2aa305d5fa0 748s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 748s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 748s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa305d6ba0 for GSocketClientAsyncConnectData 0x2aa305d5fa0 748s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 749s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 749s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 749s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 749s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 749s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 749s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 749s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 749s # End of cancellation tests 749s # End of happy-eyeballs tests 749s # End of socket-client tests 749s ok - glib/gsocketclient-slow.test 749s # Running test: glib/bytes.test 749s TAP version 14 749s # random seed: R02S05d3323f7c8af133948819daa43a5855 749s 1..21 749s # Start of bytes tests 749s ok 1 /bytes/new 749s ok 2 /bytes/new-take 749s ok 3 /bytes/new-static 749s ok 4 /bytes/new-with-free-func 749s ok 5 /bytes/new-from-bytes 749s ok - glib/bytes.test 749s # Running test: glib/rwlock.test 749s ok 6 /bytes/new-from-bytes-slice 749s ok 7 /bytes/new-from-bytes-shared-ref 749s ok 8 /bytes/hash 749s ok 9 /bytes/equal 749s ok 10 /bytes/compare 749s ok 11 /bytes/null 749s ok 12 /bytes/get-region 749s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 749s ok 13 /bytes/unref-null 749s # Start of to-data tests 749s ok 14 /bytes/to-data/transferred 749s ok 15 /bytes/to-data/two-refs 749s ok 16 /bytes/to-data/non-malloc 749s ok 17 /bytes/to-data/different-free-func 749s # End of to-data tests 749s # Start of to-array tests 749s ok 18 /bytes/to-array/transferred 749s ok 19 /bytes/to-array/two-refs 749s ok 20 /bytes/to-array/non-malloc 749s # Start of transferred tests 749s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 749s ok 21 /bytes/to-array/transferred/oversize 749s # End of transferred tests 749s # End of to-array tests 749s # End of bytes tests 749s TAP version 14 749s # random seed: R02S7337cd904433b17ef850f7df469e1659 749s 1..8 749s # Start of thread tests 749s ok 1 /thread/rwlock1 749s ok 2 /thread/rwlock2 749s ok 3 /thread/rwlock3 749s ok 4 /thread/rwlock4 749s ok 5 /thread/rwlock5 749s ok 6 /thread/rwlock6 750s ok 7 /thread/rwlock7 750s # slow test /thread/rwlock7 executed in 1.20 secs 750s ok 8 /thread/rwlock8 750s # End of thread tests 750s ok - glib/rwlock.test 750s # Running test: glib/checksum.test 750s TAP version 14 750s # random seed: R02S7d1ddc924d4765bd52e637485d34fe42 750s 1..1851 750s # Start of checksum tests 750s ok 1 /checksum/unsupported 750s # Start of MD5 tests 750s ok 2 /checksum/MD5/0 750s ok 3 /checksum/MD5/1 750s ok 4 /checksum/MD5/2 750s ok 5 /checksum/MD5/3 750s ok 6 /checksum/MD5/4 750s ok 7 /checksum/MD5/5 750s ok 8 /checksum/MD5/6 750s ok 9 /checksum/MD5/7 750s ok 10 /checksum/MD5/8 750s ok 11 /checksum/MD5/9 750s ok 12 /checksum/MD5/10 750s ok 13 /checksum/MD5/11 750s ok 14 /checksum/MD5/12 750s ok 15 /checksum/MD5/13 750s ok 16 /checksum/MD5/14 750s ok 17 /checksum/MD5/15 750s ok 18 /checksum/MD5/16 750s ok 19 /checksum/MD5/17 750s ok 20 /checksum/MD5/18 750s ok 21 /checksum/MD5/19 750s ok 22 /checksum/MD5/20 750s ok 23 /checksum/MD5/21 750s ok 24 /checksum/MD5/22 750s ok 25 /checksum/MD5/23 750s ok 26 /checksum/MD5/24 750s ok 27 /checksum/MD5/25 750s ok 28 /checksum/MD5/26 750s ok 29 /checksum/MD5/27 750s ok 30 /checksum/MD5/28 750s ok 31 /checksum/MD5/29 750s ok 32 /checksum/MD5/30 750s ok 33 /checksum/MD5/31 750s ok 34 /checksum/MD5/32 750s ok 35 /checksum/MD5/33 750s ok 36 /checksum/MD5/34 750s ok 37 /checksum/MD5/35 750s ok 38 /checksum/MD5/36 750s ok 39 /checksum/MD5/37 750s ok 40 /checksum/MD5/38 750s ok 41 /checksum/MD5/39 750s ok 42 /checksum/MD5/40 750s ok 43 /checksum/MD5/41 750s ok 44 /checksum/MD5/42 750s ok 45 /checksum/MD5/43 750s ok 46 /checksum/MD5/44 750s ok 47 /checksum/MD5/45 750s ok 48 /checksum/MD5/46 750s ok 49 /checksum/MD5/47 750s ok 50 /checksum/MD5/48 750s ok 51 /checksum/MD5/49 750s ok 52 /checksum/MD5/50 750s ok 53 /checksum/MD5/51 750s ok 54 /checksum/MD5/52 750s ok 55 /checksum/MD5/53 750s ok 56 /checksum/MD5/54 750s ok 57 /checksum/MD5/55 750s ok 58 /checksum/MD5/56 750s ok 59 /checksum/MD5/57 750s ok 60 /checksum/MD5/58 750s ok 61 /checksum/MD5/59 750s ok 62 /checksum/MD5/60 750s ok 63 /checksum/MD5/61 750s ok 64 /checksum/MD5/62 750s ok 65 /checksum/MD5/63 750s ok 66 /checksum/MD5/64 750s ok 67 /checksum/MD5/65 750s ok 68 /checksum/MD5/66 750s ok 69 /checksum/MD5/67 750s ok 70 /checksum/MD5/68 750s ok 71 /checksum/MD5/69 750s ok 72 /checksum/MD5/70 750s ok 73 /checksum/MD5/71 750s ok 74 /checksum/MD5/72 750s ok 75 /checksum/MD5/73 750s ok 76 /checksum/MD5/74 750s ok 77 /checksum/MD5/75 750s ok 78 /checksum/MD5/76 750s ok 79 /checksum/MD5/77 750s ok 80 /checksum/MD5/78 750s ok 81 /checksum/MD5/79 750s ok 82 /checksum/MD5/80 750s ok 83 /checksum/MD5/81 750s ok 84 /checksum/MD5/82 750s ok 85 /checksum/MD5/83 750s ok 86 /checksum/MD5/84 750s ok 87 /checksum/MD5/85 750s ok 88 /checksum/MD5/86 750s ok 89 /checksum/MD5/87 750s ok 90 /checksum/MD5/88 750s ok 91 /checksum/MD5/89 750s ok 92 /checksum/MD5/90 750s ok 93 /checksum/MD5/91 750s ok 94 /checksum/MD5/92 750s ok 95 /checksum/MD5/93 750s ok 96 /checksum/MD5/94 750s ok 97 /checksum/MD5/95 750s ok 98 /checksum/MD5/96 750s ok 99 /checksum/MD5/97 750s ok 100 /checksum/MD5/98 750s ok 101 /checksum/MD5/99 750s ok 102 /checksum/MD5/100 750s ok 103 /checksum/MD5/101 750s ok 104 /checksum/MD5/102 750s ok 105 /checksum/MD5/103 750s ok 106 /checksum/MD5/104 750s ok 107 /checksum/MD5/105 750s ok 108 /checksum/MD5/106 750s ok 109 /checksum/MD5/107 750s ok 110 /checksum/MD5/108 750s ok 111 /checksum/MD5/109 750s ok 112 /checksum/MD5/110 750s ok 113 /checksum/MD5/111 750s ok 114 /checksum/MD5/112 750s ok 115 /checksum/MD5/113 750s ok 116 /checksum/MD5/114 750s ok 117 /checksum/MD5/115 750s ok 118 /checksum/MD5/116 750s ok 119 /checksum/MD5/117 750s ok 120 /checksum/MD5/118 750s ok 121 /checksum/MD5/119 750s ok 122 /checksum/MD5/120 750s ok 123 /checksum/MD5/121 750s ok 124 /checksum/MD5/122 750s ok 125 /checksum/MD5/123 750s ok 126 /checksum/MD5/124 750s ok 127 /checksum/MD5/125 750s ok 128 /checksum/MD5/126 750s ok 129 /checksum/MD5/127 750s ok 130 /checksum/MD5/128 750s ok 131 /checksum/MD5/129 750s ok 132 /checksum/MD5/130 750s ok 133 /checksum/MD5/131 750s ok 134 /checksum/MD5/132 750s ok 135 /checksum/MD5/133 750s ok 136 /checksum/MD5/134 750s ok 137 /checksum/MD5/135 750s ok 138 /checksum/MD5/136 750s ok 139 /checksum/MD5/137 750s ok 140 /checksum/MD5/138 750s ok 141 /checksum/MD5/139 750s ok 142 /checksum/MD5/140 750s ok 143 /checksum/MD5/141 750s ok 144 /checksum/MD5/142 750s ok 145 /checksum/MD5/143 750s ok 146 /checksum/MD5/144 750s ok 147 /checksum/MD5/145 750s ok 148 /checksum/MD5/146 750s ok 149 /checksum/MD5/147 750s ok 150 /checksum/MD5/148 750s ok 151 /checksum/MD5/149 750s ok 152 /checksum/MD5/150 750s ok 153 /checksum/MD5/151 750s ok 154 /checksum/MD5/152 750s ok 155 /checksum/MD5/153 750s ok 156 /checksum/MD5/154 750s ok 157 /checksum/MD5/155 750s ok 158 /checksum/MD5/156 750s ok 159 /checksum/MD5/157 750s ok 160 /checksum/MD5/158 750s ok 161 /checksum/MD5/159 750s ok 162 /checksum/MD5/160 750s ok 163 /checksum/MD5/161 750s ok 164 /checksum/MD5/162 750s ok 165 /checksum/MD5/163 750s ok 166 /checksum/MD5/164 750s ok 167 /checksum/MD5/165 750s ok 168 /checksum/MD5/166 750s ok 169 /checksum/MD5/167 750s ok 170 /checksum/MD5/168 750s ok 171 /checksum/MD5/169 750s ok 172 /checksum/MD5/170 750s ok 173 /checksum/MD5/171 750s ok 174 /checksum/MD5/172 750s ok 175 /checksum/MD5/173 750s ok 176 /checksum/MD5/174 750s ok 177 /checksum/MD5/175 750s ok 178 /checksum/MD5/176 750s ok 179 /checksum/MD5/177 750s ok 180 /checksum/MD5/178 750s ok 181 /checksum/MD5/179 750s ok 182 /checksum/MD5/180 750s ok 183 /checksum/MD5/181 750s ok 184 /checksum/MD5/182 750s ok 185 /checksum/MD5/183 750s ok 186 /checksum/MD5/string 750s ok 187 /checksum/MD5/bytes 750s # Start of reset tests 750s ok 188 /checksum/MD5/reset/0 750s ok 189 /checksum/MD5/reset/1 750s ok 190 /checksum/MD5/reset/2 750s ok 191 /checksum/MD5/reset/3 750s ok 192 /checksum/MD5/reset/4 750s ok 193 /checksum/MD5/reset/5 750s ok 194 /checksum/MD5/reset/6 750s ok 195 /checksum/MD5/reset/7 750s ok 196 /checksum/MD5/reset/8 750s ok 197 /checksum/MD5/reset/9 750s ok 198 /checksum/MD5/reset/10 750s ok 199 /checksum/MD5/reset/11 750s ok 200 /checksum/MD5/reset/12 750s ok 201 /checksum/MD5/reset/13 750s ok 202 /checksum/MD5/reset/14 750s ok 203 /checksum/MD5/reset/15 750s ok 204 /checksum/MD5/reset/16 750s ok 205 /checksum/MD5/reset/17 750s ok 206 /checksum/MD5/reset/18 750s ok 207 /checksum/MD5/reset/19 750s ok 208 /checksum/MD5/reset/20 750s ok 209 /checksum/MD5/reset/21 750s ok 210 /checksum/MD5/reset/22 750s ok 211 /checksum/MD5/reset/23 750s ok 212 /checksum/MD5/reset/24 750s ok 213 /checksum/MD5/reset/25 750s ok 214 /checksum/MD5/reset/26 750s ok 215 /checksum/MD5/reset/27 750s ok 216 /checksum/MD5/reset/28 750s ok 217 /checksum/MD5/reset/29 750s ok 218 /checksum/MD5/reset/30 750s ok 219 /checksum/MD5/reset/31 750s ok 220 /checksum/MD5/reset/32 750s ok 221 /checksum/MD5/reset/33 750s ok 222 /checksum/MD5/reset/34 750s ok 223 /checksum/MD5/reset/35 750s ok 224 /checksum/MD5/reset/36 750s ok 225 /checksum/MD5/reset/37 750s ok 226 /checksum/MD5/reset/38 750s ok 227 /checksum/MD5/reset/39 750s ok 228 /checksum/MD5/reset/40 750s ok 229 /checksum/MD5/reset/41 750s ok 230 /checksum/MD5/reset/42 750s ok 231 /checksum/MD5/reset/43 750s ok 232 /checksum/MD5/reset/44 750s ok 233 /checksum/MD5/reset/45 750s ok 234 /checksum/MD5/reset/46 750s ok 235 /checksum/MD5/reset/47 750s ok 236 /checksum/MD5/reset/48 750s ok 237 /checksum/MD5/reset/49 750s ok 238 /checksum/MD5/reset/50 750s ok 239 /checksum/MD5/reset/51 750s ok 240 /checksum/MD5/reset/52 750s ok 241 /checksum/MD5/reset/53 750s ok 242 /checksum/MD5/reset/54 750s ok 243 /checksum/MD5/reset/55 750s ok 244 /checksum/MD5/reset/56 750s ok 245 /checksum/MD5/reset/57 750s ok 246 /checksum/MD5/reset/58 750s ok 247 /checksum/MD5/reset/59 750s ok 248 /checksum/MD5/reset/60 750s ok 249 /checksum/MD5/reset/61 750s ok 250 /checksum/MD5/reset/62 750s ok 251 /checksum/MD5/reset/63 750s ok 252 /checksum/MD5/reset/64 750s ok 253 /checksum/MD5/reset/65 750s ok 254 /checksum/MD5/reset/66 750s ok 255 /checksum/MD5/reset/67 750s ok 256 /checksum/MD5/reset/68 750s ok 257 /checksum/MD5/reset/69 750s ok 258 /checksum/MD5/reset/70 750s ok 259 /checksum/MD5/reset/71 750s ok 260 /checksum/MD5/reset/72 750s ok 261 /checksum/MD5/reset/73 750s ok 262 /checksum/MD5/reset/74 750s ok 263 /checksum/MD5/reset/75 750s ok 264 /checksum/MD5/reset/76 750s ok 265 /checksum/MD5/reset/77 750s ok 266 /checksum/MD5/reset/78 750s ok 267 /checksum/MD5/reset/79 750s ok 268 /checksum/MD5/reset/80 750s ok 269 /checksum/MD5/reset/81 750s ok 270 /checksum/MD5/reset/82 750s ok 271 /checksum/MD5/reset/83 750s ok 272 /checksum/MD5/reset/84 750s ok 273 /checksum/MD5/reset/85 750s ok 274 /checksum/MD5/reset/86 750s ok 275 /checksum/MD5/reset/87 750s ok 276 /checksum/MD5/reset/88 750s ok 277 /checksum/MD5/reset/89 750s ok 278 /checksum/MD5/reset/90 750s ok 279 /checksum/MD5/reset/91 750s ok 280 /checksum/MD5/reset/92 750s ok 281 /checksum/MD5/reset/93 750s ok 282 /checksum/MD5/reset/94 750s ok 283 /checksum/MD5/reset/95 750s ok 284 /checksum/MD5/reset/96 750s ok 285 /checksum/MD5/reset/97 750s ok 286 /checksum/MD5/reset/98 750s ok 287 /checksum/MD5/reset/99 750s ok 288 /checksum/MD5/reset/100 750s ok 289 /checksum/MD5/reset/101 750s ok 290 /checksum/MD5/reset/102 750s ok 291 /checksum/MD5/reset/103 750s ok 292 /checksum/MD5/reset/104 750s ok 293 /checksum/MD5/reset/105 750s ok 294 /checksum/MD5/reset/106 750s ok 295 /checksum/MD5/reset/107 750s ok 296 /checksum/MD5/reset/108 750s ok 297 /checksum/MD5/reset/109 750s ok 298 /checksum/MD5/reset/110 750s ok 299 /checksum/MD5/reset/111 750s ok 300 /checksum/MD5/reset/112 750s ok 301 /checksum/MD5/reset/113 750s ok 302 /checksum/MD5/reset/114 750s ok 303 /checksum/MD5/reset/115 750s ok 304 /checksum/MD5/reset/116 750s ok 305 /checksum/MD5/reset/117 750s ok 306 /checksum/MD5/reset/118 750s ok 307 /checksum/MD5/reset/119 750s ok 308 /checksum/MD5/reset/120 750s ok 309 /checksum/MD5/reset/121 750s ok 310 /checksum/MD5/reset/122 750s ok 311 /checksum/MD5/reset/123 750s ok 312 /checksum/MD5/reset/124 750s ok 313 /checksum/MD5/reset/125 750s ok 314 /checksum/MD5/reset/126 750s ok 315 /checksum/MD5/reset/127 750s ok 316 /checksum/MD5/reset/128 750s ok 317 /checksum/MD5/reset/129 750s ok 318 /checksum/MD5/reset/130 750s ok 319 /checksum/MD5/reset/131 750s ok 320 /checksum/MD5/reset/132 750s ok 321 /checksum/MD5/reset/133 750s ok 322 /checksum/MD5/reset/134 750s ok 323 /checksum/MD5/reset/135 750s ok 324 /checksum/MD5/reset/136 750s ok 325 /checksum/MD5/reset/137 750s ok 326 /checksum/MD5/reset/138 750s ok 327 /checksum/MD5/reset/139 750s ok 328 /checksum/MD5/reset/140 750s ok 329 /checksum/MD5/reset/141 750s ok 330 /checksum/MD5/reset/142 750s ok 331 /checksum/MD5/reset/143 750s ok 332 /checksum/MD5/reset/144 750s ok 333 /checksum/MD5/reset/145 750s ok 334 /checksum/MD5/reset/146 750s ok 335 /checksum/MD5/reset/147 750s ok 336 /checksum/MD5/reset/148 750s ok 337 /checksum/MD5/reset/149 750s ok 338 /checksum/MD5/reset/150 750s ok 339 /checksum/MD5/reset/151 750s ok 340 /checksum/MD5/reset/152 750s ok 341 /checksum/MD5/reset/153 750s ok 342 /checksum/MD5/reset/154 750s ok 343 /checksum/MD5/reset/155 750s ok 344 /checksum/MD5/reset/156 750s ok 345 /checksum/MD5/reset/157 750s ok 346 /checksum/MD5/reset/158 750s ok 347 /checksum/MD5/reset/159 750s ok 348 /checksum/MD5/reset/160 750s ok 349 /checksum/MD5/reset/161 750s ok 350 /checksum/MD5/reset/162 750s ok 351 /checksum/MD5/reset/163 750s ok 352 /checksum/MD5/reset/164 750s ok 353 /checksum/MD5/reset/165 750s ok 354 /checksum/MD5/reset/166 750s ok 355 /checksum/MD5/reset/167 750s ok 356 /checksum/MD5/reset/168 750s ok 357 /checksum/MD5/reset/169 750s ok 358 /checksum/MD5/reset/170 750s ok 359 /checksum/MD5/reset/171 750s ok 360 /checksum/MD5/reset/172 750s ok 361 /checksum/MD5/reset/173 750s ok 362 /checksum/MD5/reset/174 750s ok 363 /checksum/MD5/reset/175 750s ok 364 /checksum/MD5/reset/176 750s ok 365 /checksum/MD5/reset/177 750s ok 366 /checksum/MD5/reset/178 750s ok 367 /checksum/MD5/reset/179 750s ok 368 /checksum/MD5/reset/180 750s ok 369 /checksum/MD5/reset/181 750s ok 370 /checksum/MD5/reset/182 750s ok 371 /checksum/MD5/reset/183 750s # End of reset tests 750s # End of MD5 tests 750s # Start of SHA1 tests 750s ok 372 /checksum/SHA1/0 750s ok 373 /checksum/SHA1/1 750s ok 374 /checksum/SHA1/2 750s ok 375 /checksum/SHA1/3 750s ok 376 /checksum/SHA1/4 750s ok 377 /checksum/SHA1/5 750s ok 378 /checksum/SHA1/6 750s ok 379 /checksum/SHA1/7 750s ok 380 /checksum/SHA1/8 750s ok 381 /checksum/SHA1/9 750s ok 382 /checksum/SHA1/10 750s ok 383 /checksum/SHA1/11 750s ok 384 /checksum/SHA1/12 750s ok 385 /checksum/SHA1/13 750s ok 386 /checksum/SHA1/14 750s ok 387 /checksum/SHA1/15 750s ok 388 /checksum/SHA1/16 750s ok 389 /checksum/SHA1/17 750s ok 390 /checksum/SHA1/18 750s ok 391 /checksum/SHA1/19 750s ok 392 /checksum/SHA1/20 750s ok 393 /checksum/SHA1/21 750s ok 394 /checksum/SHA1/22 750s ok 395 /checksum/SHA1/23 750s ok 396 /checksum/SHA1/24 750s ok 397 /checksum/SHA1/25 750s ok 398 /checksum/SHA1/26 750s ok 399 /checksum/SHA1/27 750s ok 400 /checksum/SHA1/28 750s ok 401 /checksum/SHA1/29 750s ok 402 /checksum/SHA1/30 750s ok 403 /checksum/SHA1/31 750s ok 404 /checksum/SHA1/32 750s ok 405 /checksum/SHA1/33 750s ok 406 /checksum/SHA1/34 750s ok 407 /checksum/SHA1/35 750s ok 408 /checksum/SHA1/36 750s ok 409 /checksum/SHA1/37 750s ok 410 /checksum/SHA1/38 750s ok 411 /checksum/SHA1/39 750s ok 412 /checksum/SHA1/40 750s ok 413 /checksum/SHA1/41 750s ok 414 /checksum/SHA1/42 750s ok 415 /checksum/SHA1/43 750s ok 416 /checksum/SHA1/44 750s ok 417 /checksum/SHA1/45 750s ok 418 /checksum/SHA1/46 750s ok 419 /checksum/SHA1/47 750s ok 420 /checksum/SHA1/48 750s ok 421 /checksum/SHA1/49 750s ok 422 /checksum/SHA1/50 750s ok 423 /checksum/SHA1/51 750s ok 424 /checksum/SHA1/52 750s ok 425 /checksum/SHA1/53 750s ok 426 /checksum/SHA1/54 750s ok 427 /checksum/SHA1/55 750s ok 428 /checksum/SHA1/56 750s ok 429 /checksum/SHA1/57 750s ok 430 /checksum/SHA1/58 750s ok 431 /checksum/SHA1/59 750s ok 432 /checksum/SHA1/60 750s ok 433 /checksum/SHA1/61 750s ok 434 /checksum/SHA1/62 750s ok 435 /checksum/SHA1/63 750s ok 436 /checksum/SHA1/64 750s ok 437 /checksum/SHA1/65 750s ok 438 /checksum/SHA1/66 750s ok 439 /checksum/SHA1/67 750s ok 440 /checksum/SHA1/68 750s ok 441 /checksum/SHA1/69 750s ok 442 /checksum/SHA1/70 750s ok 443 /checksum/SHA1/71 750s ok 444 /checksum/SHA1/72 750s ok 445 /checksum/SHA1/73 750s ok 446 /checksum/SHA1/74 750s ok 447 /checksum/SHA1/75 750s ok 448 /checksum/SHA1/76 750s ok 449 /checksum/SHA1/77 750s ok 450 /checksum/SHA1/78 750s ok 451 /checksum/SHA1/79 750s ok 452 /checksum/SHA1/80 750s ok 453 /checksum/SHA1/81 750s ok 454 /checksum/SHA1/82 750s ok 455 /checksum/SHA1/83 750s ok 456 /checksum/SHA1/84 750s ok 457 /checksum/SHA1/85 750s ok 458 /checksum/SHA1/86 750s ok 459 /checksum/SHA1/87 750s ok 460 /checksum/SHA1/88 750s ok 461 /checksum/SHA1/89 750s ok 462 /checksum/SHA1/90 750s ok 463 /checksum/SHA1/91 750s ok 464 /checksum/SHA1/92 750s ok 465 /checksum/SHA1/93 750s ok 466 /checksum/SHA1/94 750s ok 467 /checksum/SHA1/95 750s ok 468 /checksum/SHA1/96 750s ok 469 /checksum/SHA1/97 750s ok 470 /checksum/SHA1/98 750s ok 471 /checksum/SHA1/99 750s ok 472 /checksum/SHA1/100 750s ok 473 /checksum/SHA1/101 750s ok 474 /checksum/SHA1/102 750s ok 475 /checksum/SHA1/103 750s ok 476 /checksum/SHA1/104 750s ok 477 /checksum/SHA1/105 750s ok 478 /checksum/SHA1/106 750s ok 479 /checksum/SHA1/107 750s ok 480 /checksum/SHA1/108 750s ok 481 /checksum/SHA1/109 750s ok 482 /checksum/SHA1/110 750s ok 483 /checksum/SHA1/111 750s ok 484 /checksum/SHA1/112 750s ok 485 /checksum/SHA1/113 750s ok 486 /checksum/SHA1/114 750s ok 487 /checksum/SHA1/115 750s ok 488 /checksum/SHA1/116 750s ok 489 /checksum/SHA1/117 750s ok 490 /checksum/SHA1/118 750s ok 491 /checksum/SHA1/119 750s ok 492 /checksum/SHA1/120 750s ok 493 /checksum/SHA1/121 750s ok 494 /checksum/SHA1/122 750s ok 495 /checksum/SHA1/123 750s ok 496 /checksum/SHA1/124 750s ok 497 /checksum/SHA1/125 750s ok 498 /checksum/SHA1/126 750s ok 499 /checksum/SHA1/127 750s ok 500 /checksum/SHA1/128 750s ok 501 /checksum/SHA1/129 750s ok 502 /checksum/SHA1/130 750s ok 503 /checksum/SHA1/131 750s ok 504 /checksum/SHA1/132 750s ok 505 /checksum/SHA1/133 750s ok 506 /checksum/SHA1/134 750s ok 507 /checksum/SHA1/135 750s ok 508 /checksum/SHA1/136 750s ok 509 /checksum/SHA1/137 750s ok 510 /checksum/SHA1/138 750s ok 511 /checksum/SHA1/139 750s ok 512 /checksum/SHA1/140 750s ok 513 /checksum/SHA1/141 750s ok 514 /checksum/SHA1/142 750s ok 515 /checksum/SHA1/143 750s ok 516 /checksum/SHA1/144 750s ok 517 /checksum/SHA1/145 750s ok 518 /checksum/SHA1/146 750s ok 519 /checksum/SHA1/147 750s ok 520 /checksum/SHA1/148 750s ok 521 /checksum/SHA1/149 750s ok 522 /checksum/SHA1/150 750s ok 523 /checksum/SHA1/151 750s ok 524 /checksum/SHA1/152 750s ok 525 /checksum/SHA1/153 750s ok 526 /checksum/SHA1/154 750s ok 527 /checksum/SHA1/155 750s ok 528 /checksum/SHA1/156 750s ok 529 /checksum/SHA1/157 750s ok 530 /checksum/SHA1/158 750s ok 531 /checksum/SHA1/159 750s ok 532 /checksum/SHA1/160 750s ok 533 /checksum/SHA1/161 750s ok 534 /checksum/SHA1/162 750s ok 535 /checksum/SHA1/163 750s ok 536 /checksum/SHA1/164 750s ok 537 /checksum/SHA1/165 750s ok 538 /checksum/SHA1/166 750s ok 539 /checksum/SHA1/167 750s ok 540 /checksum/SHA1/168 750s ok 541 /checksum/SHA1/169 750s ok 542 /checksum/SHA1/170 750s ok 543 /checksum/SHA1/171 750s ok 544 /checksum/SHA1/172 750s ok 545 /checksum/SHA1/173 750s ok 546 /checksum/SHA1/174 750s ok 547 /checksum/SHA1/175 750s ok 548 /checksum/SHA1/176 750s ok 549 /checksum/SHA1/177 750s ok 550 /checksum/SHA1/178 750s ok 551 /checksum/SHA1/179 750s ok 552 /checksum/SHA1/180 750s ok 553 /checksum/SHA1/181 750s ok 554 /checksum/SHA1/182 750s ok 555 /checksum/SHA1/183 750s ok 556 /checksum/SHA1/string 750s ok 557 /checksum/SHA1/bytes 750s # Start of reset tests 750s ok 558 /checksum/SHA1/reset/0 750s ok 559 /checksum/SHA1/reset/1 750s ok 560 /checksum/SHA1/reset/2 750s ok 561 /checksum/SHA1/reset/3 750s ok 562 /checksum/SHA1/reset/4 750s ok 563 /checksum/SHA1/reset/5 750s ok 564 /checksum/SHA1/reset/6 750s ok 565 /checksum/SHA1/reset/7 750s ok 566 /checksum/SHA1/reset/8 750s ok 567 /checksum/SHA1/reset/9 750s ok 568 /checksum/SHA1/reset/10 750s ok 569 /checksum/SHA1/reset/11 750s ok 570 /checksum/SHA1/reset/12 750s ok 571 /checksum/SHA1/reset/13 750s ok 572 /checksum/SHA1/reset/14 750s ok 573 /checksum/SHA1/reset/15 750s ok 574 /checksum/SHA1/reset/16 750s ok 575 /checksum/SHA1/reset/17 750s ok 576 /checksum/SHA1/reset/18 750s ok 577 /checksum/SHA1/reset/19 750s ok 578 /checksum/SHA1/reset/20 750s ok 579 /checksum/SHA1/reset/21 750s ok 580 /checksum/SHA1/reset/22 750s ok 581 /checksum/SHA1/reset/23 750s ok 582 /checksum/SHA1/reset/24 750s ok 583 /checksum/SHA1/reset/25 750s ok 584 /checksum/SHA1/reset/26 750s ok 585 /checksum/SHA1/reset/27 750s ok 586 /checksum/SHA1/reset/28 750s ok 587 /checksum/SHA1/reset/29 750s ok 588 /checksum/SHA1/reset/30 750s ok 589 /checksum/SHA1/reset/31 750s ok 590 /checksum/SHA1/reset/32 750s ok 591 /checksum/SHA1/reset/33 750s ok 592 /checksum/SHA1/reset/34 750s ok 593 /checksum/SHA1/reset/35 750s ok 594 /checksum/SHA1/reset/36 750s ok 595 /checksum/SHA1/reset/37 750s ok 596 /checksum/SHA1/reset/38 750s ok 597 /checksum/SHA1/reset/39 750s ok 598 /checksum/SHA1/reset/40 750s ok 599 /checksum/SHA1/reset/41 750s ok 600 /checksum/SHA1/reset/42 750s ok 601 /checksum/SHA1/reset/43 750s ok 602 /checksum/SHA1/reset/44 750s ok 603 /checksum/SHA1/reset/45 750s ok 604 /checksum/SHA1/reset/46 750s ok 605 /checksum/SHA1/reset/47 750s ok 606 /checksum/SHA1/reset/48 750s ok 607 /checksum/SHA1/reset/49 750s ok 608 /checksum/SHA1/reset/50 750s ok 609 /checksum/SHA1/reset/51 750s ok 610 /checksum/SHA1/reset/52 750s ok 611 /checksum/SHA1/reset/53 750s ok 612 /checksum/SHA1/reset/54 750s ok 613 /checksum/SHA1/reset/55 750s ok 614 /checksum/SHA1/reset/56 750s ok 615 /checksum/SHA1/reset/57 750s ok 616 /checksum/SHA1/reset/58 750s ok 617 /checksum/SHA1/reset/59 750s ok 618 /checksum/SHA1/reset/60 750s ok 619 /checksum/SHA1/reset/61 750s ok 620 /checksum/SHA1/reset/62 750s ok 621 /checksum/SHA1/reset/63 750s ok 622 /checksum/SHA1/reset/64 750s ok 623 /checksum/SHA1/reset/65 750s ok 624 /checksum/SHA1/reset/66 750s ok 625 /checksum/SHA1/reset/67 750s ok 626 /checksum/SHA1/reset/68 750s ok 627 /checksum/SHA1/reset/69 750s ok 628 /checksum/SHA1/reset/70 750s ok 629 /checksum/SHA1/reset/71 750s ok 630 /checksum/SHA1/reset/72 750s ok 631 /checksum/SHA1/reset/73 750s ok 632 /checksum/SHA1/reset/74 750s ok 633 /checksum/SHA1/reset/75 750s ok 634 /checksum/SHA1/reset/76 750s ok 635 /checksum/SHA1/reset/77 750s ok 636 /checksum/SHA1/reset/78 750s ok 637 /checksum/SHA1/reset/79 750s ok 638 /checksum/SHA1/reset/80 750s ok 639 /checksum/SHA1/reset/81 750s ok 640 /checksum/SHA1/reset/82 750s ok 641 /checksum/SHA1/reset/83 750s ok 642 /checksum/SHA1/reset/84 750s ok 643 /checksum/SHA1/reset/85 750s ok 644 /checksum/SHA1/reset/86 750s ok 645 /checksum/SHA1/reset/87 750s ok 646 /checksum/SHA1/reset/88 750s ok 647 /checksum/SHA1/reset/89 750s ok 648 /checksum/SHA1/reset/90 750s ok 649 /checksum/SHA1/reset/91 750s ok 650 /checksum/SHA1/reset/92 750s ok 651 /checksum/SHA1/reset/93 750s ok 652 /checksum/SHA1/reset/94 750s ok 653 /checksum/SHA1/reset/95 750s ok 654 /checksum/SHA1/reset/96 750s ok 655 /checksum/SHA1/reset/97 750s ok 656 /checksum/SHA1/reset/98 750s ok 657 /checksum/SHA1/reset/99 750s ok 658 /checksum/SHA1/reset/100 750s ok 659 /checksum/SHA1/reset/101 750s ok 660 /checksum/SHA1/reset/102 750s ok 661 /checksum/SHA1/reset/103 750s ok 662 /checksum/SHA1/reset/104 750s ok 663 /checksum/SHA1/reset/105 750s ok 664 /checksum/SHA1/reset/106 750s ok 665 /checksum/SHA1/reset/107 750s ok 666 /checksum/SHA1/reset/108 750s ok 667 /checksum/SHA1/reset/109 750s ok 668 /checksum/SHA1/reset/110 750s ok 669 /checksum/SHA1/reset/111 750s ok 670 /checksum/SHA1/reset/112 750s ok 671 /checksum/SHA1/reset/113 750s ok 672 /checksum/SHA1/reset/114 750s ok 673 /checksum/SHA1/reset/115 750s ok 674 /checksum/SHA1/reset/116 750s ok 675 /checksum/SHA1/reset/117 750s ok 676 /checksum/SHA1/reset/118 750s ok 677 /checksum/SHA1/reset/119 750s ok 678 /checksum/SHA1/reset/120 750s ok 679 /checksum/SHA1/reset/121 750s ok 680 /checksum/SHA1/reset/122 750s ok 681 /checksum/SHA1/reset/123 750s ok 682 /checksum/SHA1/reset/124 750s ok 683 /checksum/SHA1/reset/125 750s ok 684 /checksum/SHA1/reset/126 750s ok 685 /checksum/SHA1/reset/127 750s ok 686 /checksum/SHA1/reset/128 750s ok 687 /checksum/SHA1/reset/129 750s ok 688 /checksum/SHA1/reset/130 750s ok 689 /checksum/SHA1/reset/131 750s ok 690 /checksum/SHA1/reset/132 750s ok 691 /checksum/SHA1/reset/133 750s ok 692 /checksum/SHA1/reset/134 750s ok 693 /checksum/SHA1/reset/135 750s ok 694 /checksum/SHA1/reset/136 750s ok 695 /checksum/SHA1/reset/137 750s ok 696 /checksum/SHA1/reset/138 750s ok 697 /checksum/SHA1/reset/139 750s ok 698 /checksum/SHA1/reset/140 750s ok 699 /checksum/SHA1/reset/141 750s ok 700 /checksum/SHA1/reset/142 750s ok 701 /checksum/SHA1/reset/143 750s ok 702 /checksum/SHA1/reset/144 750s ok 703 /checksum/SHA1/reset/145 750s ok 704 /checksum/SHA1/reset/146 750s ok 705 /checksum/SHA1/reset/147 750s ok 706 /checksum/SHA1/reset/148 750s ok 707 /checksum/SHA1/reset/149 750s ok 708 /checksum/SHA1/reset/150 750s ok 709 /checksum/SHA1/reset/151 750s ok 710 /checksum/SHA1/reset/152 750s ok 711 /checksum/SHA1/reset/153 750s ok 712 /checksum/SHA1/reset/154 750s ok 713 /checksum/SHA1/reset/155 750s ok 714 /checksum/SHA1/reset/156 750s ok 715 /checksum/SHA1/reset/157 750s ok 716 /checksum/SHA1/reset/158 750s ok 717 /checksum/SHA1/reset/159 750s ok 718 /checksum/SHA1/reset/160 750s ok 719 /checksum/SHA1/reset/161 750s ok 720 /checksum/SHA1/reset/162 750s ok 721 /checksum/SHA1/reset/163 750s ok 722 /checksum/SHA1/reset/164 750s ok 723 /checksum/SHA1/reset/165 750s ok 724 /checksum/SHA1/reset/166 750s ok 725 /checksum/SHA1/reset/167 750s ok 726 /checksum/SHA1/reset/168 750s ok 727 /checksum/SHA1/reset/169 750s ok 728 /checksum/SHA1/reset/170 750s ok 729 /checksum/SHA1/reset/171 750s ok 730 /checksum/SHA1/reset/172 750s ok 731 /checksum/SHA1/reset/173 750s ok 732 /checksum/SHA1/reset/174 750s ok 733 /checksum/SHA1/reset/175 750s ok 734 /checksum/SHA1/reset/176 750s ok 735 /checksum/SHA1/reset/177 750s ok 736 /checksum/SHA1/reset/178 750s ok 737 /checksum/SHA1/reset/179 750s ok 738 /checksum/SHA1/reset/180 750s ok 739 /checksum/SHA1/reset/181 750s ok 740 /checksum/SHA1/reset/182 750s ok 741 /checksum/SHA1/reset/183 750s # End of reset tests 750s # End of SHA1 tests 750s # Start of SHA256 tests 750s ok 742 /checksum/SHA256/0 750s ok 743 /checksum/SHA256/1 750s ok 744 /checksum/SHA256/2 750s ok 745 /checksum/SHA256/3 750s ok 746 /checksum/SHA256/4 750s ok 747 /checksum/SHA256/5 750s ok 748 /checksum/SHA256/6 750s ok 749 /checksum/SHA256/7 750s ok 750 /checksum/SHA256/8 750s ok 751 /checksum/SHA256/9 750s ok 752 /checksum/SHA256/10 750s ok 753 /checksum/SHA256/11 750s ok 754 /checksum/SHA256/12 750s ok 755 /checksum/SHA256/13 750s ok 756 /checksum/SHA256/14 750s ok 757 /checksum/SHA256/15 750s ok 758 /checksum/SHA256/16 750s ok 759 /checksum/SHA256/17 750s ok 760 /checksum/SHA256/18 750s ok 761 /checksum/SHA256/19 750s ok 762 /checksum/SHA256/20 750s ok 763 /checksum/SHA256/21 750s ok 764 /checksum/SHA256/22 750s ok 765 /checksum/SHA256/23 750s ok 766 /checksum/SHA256/24 750s ok 767 /checksum/SHA256/25 750s ok 768 /checksum/SHA256/26 750s ok 769 /checksum/SHA256/27 750s ok 770 /checksum/SHA256/28 750s ok 771 /checksum/SHA256/29 750s ok 772 /checksum/SHA256/30 750s ok 773 /checksum/SHA256/31 750s ok 774 /checksum/SHA256/32 750s ok 775 /checksum/SHA256/33 750s ok 776 /checksum/SHA256/34 750s ok 777 /checksum/SHA256/35 750s ok 778 /checksum/SHA256/36 750s ok 779 /checksum/SHA256/37 750s ok 780 /checksum/SHA256/38 750s ok 781 /checksum/SHA256/39 750s ok 782 /checksum/SHA256/40 750s ok 783 /checksum/SHA256/41 750s ok 784 /checksum/SHA256/42 750s ok 785 /checksum/SHA256/43 750s ok 786 /checksum/SHA256/44 750s ok 787 /checksum/SHA256/45 750s ok 788 /checksum/SHA256/46 750s ok 789 /checksum/SHA256/47 750s ok 790 /checksum/SHA256/48 750s ok 791 /checksum/SHA256/49 750s ok 792 /checksum/SHA256/50 750s ok 793 /checksum/SHA256/51 750s ok 794 /checksum/SHA256/52 750s ok 795 /checksum/SHA256/53 750s ok 796 /checksum/SHA256/54 750s ok 797 /checksum/SHA256/55 750s ok 798 /checksum/SHA256/56 750s ok 799 /checksum/SHA256/57 750s ok 800 /checksum/SHA256/58 750s ok 801 /checksum/SHA256/59 750s ok 802 /checksum/SHA256/60 750s ok 803 /checksum/SHA256/61 750s ok 804 /checksum/SHA256/62 750s ok 805 /checksum/SHA256/63 750s ok 806 /checksum/SHA256/64 750s ok 807 /checksum/SHA256/65 750s ok 808 /checksum/SHA256/66 750s ok 809 /checksum/SHA256/67 750s ok 810 /checksum/SHA256/68 750s ok 811 /checksum/SHA256/69 750s ok 812 /checksum/SHA256/70 750s ok 813 /checksum/SHA256/71 750s ok 814 /checksum/SHA256/72 750s ok 815 /checksum/SHA256/73 750s ok 816 /checksum/SHA256/74 750s ok 817 /checksum/SHA256/75 750s ok 818 /checksum/SHA256/76 750s ok 819 /checksum/SHA256/77 750s ok 820 /checksum/SHA256/78 750s ok 821 /checksum/SHA256/79 750s ok 822 /checksum/SHA256/80 750s ok 823 /checksum/SHA256/81 750s ok 824 /checksum/SHA256/82 750s ok 825 /checksum/SHA256/83 750s ok 826 /checksum/SHA256/84 750s ok 827 /checksum/SHA256/85 750s ok 828 /checksum/SHA256/86 750s ok 829 /checksum/SHA256/87 750s ok 830 /checksum/SHA256/88 750s ok 831 /checksum/SHA256/89 750s ok 832 /checksum/SHA256/90 750s ok 833 /checksum/SHA256/91 750s ok 834 /checksum/SHA256/92 750s ok 835 /checksum/SHA256/93 750s ok 836 /checksum/SHA256/94 750s ok 837 /checksum/SHA256/95 750s ok 838 /checksum/SHA256/96 750s ok 839 /checksum/SHA256/97 750s ok 840 /checksum/SHA256/98 750s ok 841 /checksum/SHA256/99 750s ok 842 /checksum/SHA256/100 750s ok 843 /checksum/SHA256/101 750s ok 844 /checksum/SHA256/102 750s ok 845 /checksum/SHA256/103 750s ok 846 /checksum/SHA256/104 750s ok 847 /checksum/SHA256/105 750s ok 848 /checksum/SHA256/106 750s ok 849 /checksum/SHA256/107 750s ok 850 /checksum/SHA256/108 750s ok 851 /checksum/SHA256/109 750s ok 852 /checksum/SHA256/110 750s ok 853 /checksum/SHA256/111 750s ok 854 /checksum/SHA256/112 750s ok 855 /checksum/SHA256/113 750s ok 856 /checksum/SHA256/114 750s ok 857 /checksum/SHA256/115 750s ok 858 /checksum/SHA256/116 750s ok 859 /checksum/SHA256/117 750s ok 860 /checksum/SHA256/118 750s ok 861 /checksum/SHA256/119 750s ok 862 /checksum/SHA256/120 750s ok 863 /checksum/SHA256/121 750s ok 864 /checksum/SHA256/122 750s ok 865 /checksum/SHA256/123 750s ok 866 /checksum/SHA256/124 750s ok 867 /checksum/SHA256/125 750s ok 868 /checksum/SHA256/126 750s ok 869 /checksum/SHA256/127 750s ok 870 /checksum/SHA256/128 750s ok 871 /checksum/SHA256/129 750s ok 872 /checksum/SHA256/130 750s ok 873 /checksum/SHA256/131 750s ok 874 /checksum/SHA256/132 750s ok 875 /checksum/SHA256/133 750s ok 876 /checksum/SHA256/134 750s ok 877 /checksum/SHA256/135 750s ok 878 /checksum/SHA256/136 750s ok 879 /checksum/SHA256/137 750s ok 880 /checksum/SHA256/138 750s ok 881 /checksum/SHA256/139 750s ok 882 /checksum/SHA256/140 750s ok 883 /checksum/SHA256/141 750s ok 884 /checksum/SHA256/142 750s ok 885 /checksum/SHA256/143 750s ok 886 /checksum/SHA256/144 750s ok 887 /checksum/SHA256/145 750s ok 888 /checksum/SHA256/146 750s ok 889 /checksum/SHA256/147 750s ok 890 /checksum/SHA256/148 750s ok 891 /checksum/SHA256/149 750s ok 892 /checksum/SHA256/150 750s ok 893 /checksum/SHA256/151 750s ok 894 /checksum/SHA256/152 750s ok 895 /checksum/SHA256/153 750s ok 896 /checksum/SHA256/154 750s ok 897 /checksum/SHA256/155 750s ok 898 /checksum/SHA256/156 750s ok 899 /checksum/SHA256/157 750s ok 900 /checksum/SHA256/158 750s ok 901 /checksum/SHA256/159 750s ok 902 /checksum/SHA256/160 750s ok 903 /checksum/SHA256/161 750s ok 904 /checksum/SHA256/162 750s ok 905 /checksum/SHA256/163 750s ok 906 /checksum/SHA256/164 750s ok 907 /checksum/SHA256/165 750s ok 908 /checksum/SHA256/166 750s ok 909 /checksum/SHA256/167 750s ok 910 /checksum/SHA256/168 750s ok 911 /checksum/SHA256/169 750s ok 912 /checksum/SHA256/170 750s ok 913 /checksum/SHA256/171 750s ok 914 /checksum/SHA256/172 750s ok 915 /checksum/SHA256/173 750s ok 916 /checksum/SHA256/174 750s ok 917 /checksum/SHA256/175 750s ok 918 /checksum/SHA256/176 750s ok 919 /checksum/SHA256/177 750s ok 920 /checksum/SHA256/178 750s ok 921 /checksum/SHA256/179 750s ok 922 /checksum/SHA256/180 750s ok 923 /checksum/SHA256/181 750s ok 924 /checksum/SHA256/182 750s ok 925 /checksum/SHA256/183 750s ok 926 /checksum/SHA256/string 750s ok 927 /checksum/SHA256/bytes 750s # Start of reset tests 750s ok 928 /checksum/SHA256/reset/0 750s ok 929 /checksum/SHA256/reset/1 750s ok 930 /checksum/SHA256/reset/2 750s ok 931 /checksum/SHA256/reset/3 750s ok 932 /checksum/SHA256/reset/4 750s ok 933 /checksum/SHA256/reset/5 750s ok 934 /checksum/SHA256/reset/6 750s ok 935 /checksum/SHA256/reset/7 750s ok 936 /checksum/SHA256/reset/8 750s ok 937 /checksum/SHA256/reset/9 750s ok 938 /checksum/SHA256/reset/10 750s ok 939 /checksum/SHA256/reset/11 750s ok 940 /checksum/SHA256/reset/12 750s ok 941 /checksum/SHA256/reset/13 750s ok 942 /checksum/SHA256/reset/14 750s ok 943 /checksum/SHA256/reset/15 750s ok 944 /checksum/SHA256/reset/16 750s ok 945 /checksum/SHA256/reset/17 750s ok 946 /checksum/SHA256/reset/18 750s ok 947 /checksum/SHA256/reset/19 750s ok 948 /checksum/SHA256/reset/20 750s ok 949 /checksum/SHA256/reset/21 750s ok 950 /checksum/SHA256/reset/22 750s ok 951 /checksum/SHA256/reset/23 750s ok 952 /checksum/SHA256/reset/24 750s ok 953 /checksum/SHA256/reset/25 750s ok 954 /checksum/SHA256/reset/26 750s ok 955 /checksum/SHA256/reset/27 750s ok 956 /checksum/SHA256/reset/28 750s ok 957 /checksum/SHA256/reset/29 750s ok 958 /checksum/SHA256/reset/30 750s ok 959 /checksum/SHA256/reset/31 750s ok 960 /checksum/SHA256/reset/32 750s ok 961 /checksum/SHA256/reset/33 750s ok 962 /checksum/SHA256/reset/34 750s ok 963 /checksum/SHA256/reset/35 750s ok 964 /checksum/SHA256/reset/36 750s ok 965 /checksum/SHA256/reset/37 750s ok 966 /checksum/SHA256/reset/38 750s ok 967 /checksum/SHA256/reset/39 750s ok 968 /checksum/SHA256/reset/40 750s ok 969 /checksum/SHA256/reset/41 750s ok 970 /checksum/SHA256/reset/42 750s ok 971 /checksum/SHA256/reset/43 750s ok 972 /checksum/SHA256/reset/44 750s ok 973 /checksum/SHA256/reset/45 750s ok 974 /checksum/SHA256/reset/46 750s ok 975 /checksum/SHA256/reset/47 750s ok 976 /checksum/SHA256/reset/48 750s ok 977 /checksum/SHA256/reset/49 750s ok 978 /checksum/SHA256/reset/50 750s ok 979 /checksum/SHA256/reset/51 750s ok 980 /checksum/SHA256/reset/52 750s ok 981 /checksum/SHA256/reset/53 750s ok 982 /checksum/SHA256/reset/54 750s ok 983 /checksum/SHA256/reset/55 750s ok 984 /checksum/SHA256/reset/56 750s ok 985 /checksum/SHA256/reset/57 750s ok 986 /checksum/SHA256/reset/58 750s ok 987 /checksum/SHA256/reset/59 750s ok 988 /checksum/SHA256/reset/60 750s ok 989 /checksum/SHA256/reset/61 750s ok 990 /checksum/SHA256/reset/62 750s ok 991 /checksum/SHA256/reset/63 750s ok 992 /checksum/SHA256/reset/64 750s ok 993 /checksum/SHA256/reset/65 750s ok 994 /checksum/SHA256/reset/66 750s ok 995 /checksum/SHA256/reset/67 750s ok 996 /checksum/SHA256/reset/68 750s ok 997 /checksum/SHA256/reset/69 750s ok 998 /checksum/SHA256/reset/70 750s ok 999 /checksum/SHA256/reset/71 750s ok 1000 /checksum/SHA256/reset/72 750s ok 1001 /checksum/SHA256/reset/73 750s ok 1002 /checksum/SHA256/reset/74 750s ok 1003 /checksum/SHA256/reset/75 750s ok 1004 /checksum/SHA256/reset/76 750s ok 1005 /checksum/SHA256/reset/77 750s ok 1006 /checksum/SHA256/reset/78 750s ok 1007 /checksum/SHA256/reset/79 750s ok 1008 /checksum/SHA256/reset/80 750s ok 1009 /checksum/SHA256/reset/81 750s ok 1010 /checksum/SHA256/reset/82 750s ok 1011 /checksum/SHA256/reset/83 750s ok 1012 /checksum/SHA256/reset/84 750s ok 1013 /checksum/SHA256/reset/85 750s ok 1014 /checksum/SHA256/reset/86 750s ok 1015 /checksum/SHA256/reset/87 750s ok 1016 /checksum/SHA256/reset/88 750s ok 1017 /checksum/SHA256/reset/89 750s ok 1018 /checksum/SHA256/reset/90 750s ok 1019 /checksum/SHA256/reset/91 750s ok 1020 /checksum/SHA256/reset/92 750s ok 1021 /checksum/SHA256/reset/93 750s ok 1022 /checksum/SHA256/reset/94 750s ok 1023 /checksum/SHA256/reset/95 750s ok 1024 /checksum/SHA256/reset/96 750s ok 1025 /checksum/SHA256/reset/97 750s ok 1026 /checksum/SHA256/reset/98 750s ok 1027 /checksum/SHA256/reset/99 750s ok 1028 /checksum/SHA256/reset/100 750s ok 1029 /checksum/SHA256/reset/101 750s ok 1030 /checksum/SHA256/reset/102 750s ok 1031 /checksum/SHA256/reset/103 750s ok 1032 /checksum/SHA256/reset/104 750s ok 1033 /checksum/SHA256/reset/105 750s ok 1034 /checksum/SHA256/reset/106 750s ok 1035 /checksum/SHA256/reset/107 750s ok 1036 /checksum/SHA256/reset/108 750s ok 1037 /checksum/SHA256/reset/109 750s ok 1038 /checksum/SHA256/reset/110 750s ok 1039 /checksum/SHA256/reset/111 750s ok 1040 /checksum/SHA256/reset/112 750s ok 1041 /checksum/SHA256/reset/113 750s ok 1042 /checksum/SHA256/reset/114 750s ok 1043 /checksum/SHA256/reset/115 750s ok 1044 /checksum/SHA256/reset/116 750s ok 1045 /checksum/SHA256/reset/117 750s ok 1046 /checksum/SHA256/reset/118 750s ok 1047 /checksum/SHA256/reset/119 750s ok 1048 /checksum/SHA256/reset/120 750s ok 1049 /checksum/SHA256/reset/121 750s ok 1050 /checksum/SHA256/reset/122 750s ok 1051 /checksum/SHA256/reset/123 750s ok 1052 /checksum/SHA256/reset/124 750s ok 1053 /checksum/SHA256/reset/125 750s ok 1054 /checksum/SHA256/reset/126 750s ok 1055 /checksum/SHA256/reset/127 750s ok 1056 /checksum/SHA256/reset/128 750s ok 1057 /checksum/SHA256/reset/129 750s ok 1058 /checksum/SHA256/reset/130 750s ok 1059 /checksum/SHA256/reset/131 750s ok 1060 /checksum/SHA256/reset/132 750s ok 1061 /checksum/SHA256/reset/133 750s ok 1062 /checksum/SHA256/reset/134 750s ok 1063 /checksum/SHA256/reset/135 750s ok 1064 /checksum/SHA256/reset/136 750s ok 1065 /checksum/SHA256/reset/137 750s ok 1066 /checksum/SHA256/reset/138 750s ok 1067 /checksum/SHA256/reset/139 750s ok 1068 /checksum/SHA256/reset/140 750s ok 1069 /checksum/SHA256/reset/141 750s ok 1070 /checksum/SHA256/reset/142 750s ok 1071 /checksum/SHA256/reset/143 750s ok 1072 /checksum/SHA256/reset/144 750s ok 1073 /checksum/SHA256/reset/145 750s ok 1074 /checksum/SHA256/reset/146 750s ok 1075 /checksum/SHA256/reset/147 750s ok 1076 /checksum/SHA256/reset/148 750s ok 1077 /checksum/SHA256/reset/149 750s ok 1078 /checksum/SHA256/reset/150 750s ok 1079 /checksum/SHA256/reset/151 750s ok 1080 /checksum/SHA256/reset/152 750s ok 1081 /checksum/SHA256/reset/153 750s ok 1082 /checksum/SHA256/reset/154 750s ok 1083 /checksum/SHA256/reset/155 750s ok 1084 /checksum/SHA256/reset/156 750s ok 1085 /checksum/SHA256/reset/157 750s ok 1086 /checksum/SHA256/reset/158 750s ok 1087 /checksum/SHA256/reset/159 750s ok 1088 /checksum/SHA256/reset/160 750s ok 1089 /checksum/SHA256/reset/161 750s ok 1090 /checksum/SHA256/reset/162 750s ok 1091 /checksum/SHA256/reset/163 750s ok 1092 /checksum/SHA256/reset/164 750s ok 1093 /checksum/SHA256/reset/165 750s ok 1094 /checksum/SHA256/reset/166 750s ok 1095 /checksum/SHA256/reset/167 750s ok 1096 /checksum/SHA256/reset/168 750s ok 1097 /checksum/SHA256/reset/169 750s ok 1098 /checksum/SHA256/reset/170 750s ok 1099 /checksum/SHA256/reset/171 750s ok 1100 /checksum/SHA256/reset/172 750s ok 1101 /checksum/SHA256/reset/173 750s ok 1102 /checksum/SHA256/reset/174 750s ok 1103 /checksum/SHA256/reset/175 750s ok 1104 /checksum/SHA256/reset/176 750s ok 1105 /checksum/SHA256/reset/177 750s ok 1106 /checksum/SHA256/reset/178 750s ok 1107 /checksum/SHA256/reset/179 750s ok 1108 /checksum/SHA256/reset/180 750s ok 1109 /checksum/SHA256/reset/181 750s ok 1110 /checksum/SHA256/reset/182 750s ok 1111 /checksum/SHA256/reset/183 750s # End of reset tests 750s # End of SHA256 tests 750s # Start of SHA384 tests 750s ok 1112 /checksum/SHA384/0 750s ok 1113 /checksum/SHA384/1 750s ok 1114 /checksum/SHA384/2 750s ok 1115 /checksum/SHA384/3 750s ok 1116 /checksum/SHA384/4 750s ok 1117 /checksum/SHA384/5 750s ok 1118 /checksum/SHA384/6 750s ok 1119 /checksum/SHA384/7 750s ok 1120 /checksum/SHA384/8 750s ok 1121 /checksum/SHA384/9 750s ok 1122 /checksum/SHA384/10 750s ok 1123 /checksum/SHA384/11 750s ok 1124 /checksum/SHA384/12 750s ok 1125 /checksum/SHA384/13 750s ok 1126 /checksum/SHA384/14 750s ok 1127 /checksum/SHA384/15 750s ok 1128 /checksum/SHA384/16 750s ok 1129 /checksum/SHA384/17 750s ok 1130 /checksum/SHA384/18 750s ok 1131 /checksum/SHA384/19 750s ok 1132 /checksum/SHA384/20 750s ok 1133 /checksum/SHA384/21 750s ok 1134 /checksum/SHA384/22 750s ok 1135 /checksum/SHA384/23 750s ok 1136 /checksum/SHA384/24 750s ok 1137 /checksum/SHA384/25 750s ok 1138 /checksum/SHA384/26 750s ok 1139 /checksum/SHA384/27 750s ok 1140 /checksum/SHA384/28 750s ok 1141 /checksum/SHA384/29 750s ok 1142 /checksum/SHA384/30 750s ok 1143 /checksum/SHA384/31 750s ok 1144 /checksum/SHA384/32 750s ok 1145 /checksum/SHA384/33 750s ok 1146 /checksum/SHA384/34 750s ok 1147 /checksum/SHA384/35 750s ok 1148 /checksum/SHA384/36 750s ok 1149 /checksum/SHA384/37 750s ok 1150 /checksum/SHA384/38 750s ok 1151 /checksum/SHA384/39 750s ok 1152 /checksum/SHA384/40 750s ok 1153 /checksum/SHA384/41 750s ok 1154 /checksum/SHA384/42 750s ok 1155 /checksum/SHA384/43 750s ok 1156 /checksum/SHA384/44 750s ok 1157 /checksum/SHA384/45 750s ok 1158 /checksum/SHA384/46 750s ok 1159 /checksum/SHA384/47 750s ok 1160 /checksum/SHA384/48 750s ok 1161 /checksum/SHA384/49 750s ok 1162 /checksum/SHA384/50 750s ok 1163 /checksum/SHA384/51 750s ok 1164 /checksum/SHA384/52 750s ok 1165 /checksum/SHA384/53 750s ok 1166 /checksum/SHA384/54 750s ok 1167 /checksum/SHA384/55 750s ok 1168 /checksum/SHA384/56 750s ok 1169 /checksum/SHA384/57 750s ok 1170 /checksum/SHA384/58 750s ok 1171 /checksum/SHA384/59 750s ok 1172 /checksum/SHA384/60 750s ok 1173 /checksum/SHA384/61 750s ok 1174 /checksum/SHA384/62 750s ok 1175 /checksum/SHA384/63 750s ok 1176 /checksum/SHA384/64 750s ok 1177 /checksum/SHA384/65 750s ok 1178 /checksum/SHA384/66 750s ok 1179 /checksum/SHA384/67 750s ok 1180 /checksum/SHA384/68 750s ok 1181 /checksum/SHA384/69 750s ok 1182 /checksum/SHA384/70 750s ok 1183 /checksum/SHA384/71 750s ok 1184 /checksum/SHA384/72 750s ok 1185 /checksum/SHA384/73 750s ok 1186 /checksum/SHA384/74 750s ok 1187 /checksum/SHA384/75 750s ok 1188 /checksum/SHA384/76 750s ok 1189 /checksum/SHA384/77 750s ok 1190 /checksum/SHA384/78 750s ok 1191 /checksum/SHA384/79 750s ok 1192 /checksum/SHA384/80 750s ok 1193 /checksum/SHA384/81 750s ok 1194 /checksum/SHA384/82 750s ok 1195 /checksum/SHA384/83 750s ok 1196 /checksum/SHA384/84 750s ok 1197 /checksum/SHA384/85 750s ok 1198 /checksum/SHA384/86 750s ok 1199 /checksum/SHA384/87 750s ok 1200 /checksum/SHA384/88 750s ok 1201 /checksum/SHA384/89 750s ok 1202 /checksum/SHA384/90 750s ok 1203 /checksum/SHA384/91 750s ok 1204 /checksum/SHA384/92 750s ok 1205 /checksum/SHA384/93 750s ok 1206 /checksum/SHA384/94 750s ok 1207 /checksum/SHA384/95 750s ok 1208 /checksum/SHA384/96 750s ok 1209 /checksum/SHA384/97 750s ok 1210 /checksum/SHA384/98 750s ok 1211 /checksum/SHA384/99 750s ok 1212 /checksum/SHA384/100 750s ok 1213 /checksum/SHA384/101 750s ok 1214 /checksum/SHA384/102 750s ok 1215 /checksum/SHA384/103 750s ok 1216 /checksum/SHA384/104 750s ok 1217 /checksum/SHA384/105 750s ok 1218 /checksum/SHA384/106 750s ok 1219 /checksum/SHA384/107 750s ok 1220 /checksum/SHA384/108 750s ok 1221 /checksum/SHA384/109 750s ok 1222 /checksum/SHA384/110 750s ok 1223 /checksum/SHA384/111 750s ok 1224 /checksum/SHA384/112 750s ok 1225 /checksum/SHA384/113 750s ok 1226 /checksum/SHA384/114 750s ok 1227 /checksum/SHA384/115 750s ok 1228 /checksum/SHA384/116 750s ok 1229 /checksum/SHA384/117 750s ok 1230 /checksum/SHA384/118 750s ok 1231 /checksum/SHA384/119 750s ok 1232 /checksum/SHA384/120 750s ok 1233 /checksum/SHA384/121 750s ok 1234 /checksum/SHA384/122 750s ok 1235 /checksum/SHA384/123 750s ok 1236 /checksum/SHA384/124 750s ok 1237 /checksum/SHA384/125 750s ok 1238 /checksum/SHA384/126 750s ok 1239 /checksum/SHA384/127 750s ok 1240 /checksum/SHA384/128 750s ok 1241 /checksum/SHA384/129 750s ok 1242 /checksum/SHA384/130 750s ok 1243 /checksum/SHA384/131 750s ok 1244 /checksum/SHA384/132 750s ok 1245 /checksum/SHA384/133 750s ok 1246 /checksum/SHA384/134 750s ok 1247 /checksum/SHA384/135 750s ok 1248 /checksum/SHA384/136 750s ok 1249 /checksum/SHA384/137 750s ok 1250 /checksum/SHA384/138 750s ok 1251 /checksum/SHA384/139 750s ok 1252 /checksum/SHA384/140 750s ok 1253 /checksum/SHA384/141 750s ok 1254 /checksum/SHA384/142 750s ok 1255 /checksum/SHA384/143 750s ok 1256 /checksum/SHA384/144 750s ok 1257 /checksum/SHA384/145 750s ok 1258 /checksum/SHA384/146 750s ok 1259 /checksum/SHA384/147 750s ok 1260 /checksum/SHA384/148 750s ok 1261 /checksum/SHA384/149 750s ok 1262 /checksum/SHA384/150 750s ok 1263 /checksum/SHA384/151 750s ok 1264 /checksum/SHA384/152 750s ok 1265 /checksum/SHA384/153 750s ok 1266 /checksum/SHA384/154 750s ok 1267 /checksum/SHA384/155 750s ok 1268 /checksum/SHA384/156 750s ok 1269 /checksum/SHA384/157 750s ok 1270 /checksum/SHA384/158 750s ok 1271 /checksum/SHA384/159 750s ok 1272 /checksum/SHA384/160 750s ok 1273 /checksum/SHA384/161 750s ok 1274 /checksum/SHA384/162 750s ok 1275 /checksum/SHA384/163 750s ok 1276 /checksum/SHA384/164 750s ok 1277 /checksum/SHA384/165 750s ok 1278 /checksum/SHA384/166 750s ok 1279 /checksum/SHA384/167 750s ok 1280 /checksum/SHA384/168 750s ok 1281 /checksum/SHA384/169 750s ok 1282 /checksum/SHA384/170 750s ok 1283 /checksum/SHA384/171 750s ok 1284 /checksum/SHA384/172 750s ok 1285 /checksum/SHA384/173 750s ok 1286 /checksum/SHA384/174 750s ok 1287 /checksum/SHA384/175 750s ok 1288 /checksum/SHA384/176 750s ok 1289 /checksum/SHA384/177 750s ok 1290 /checksum/SHA384/178 750s ok 1291 /checksum/SHA384/179 750s ok 1292 /checksum/SHA384/180 750s ok 1293 /checksum/SHA384/181 750s ok 1294 /checksum/SHA384/182 750s ok 1295 /checksum/SHA384/183 750s ok 1296 /checksum/SHA384/string 750s ok 1297 /checksum/SHA384/bytes 750s # Start of reset tests 750s ok 1298 /checksum/SHA384/reset/0 750s ok 1299 /checksum/SHA384/reset/1 750s ok 1300 /checksum/SHA384/reset/2 750s ok 1301 /checksum/SHA384/reset/3 750s ok 1302 /checksum/SHA384/reset/4 750s ok 1303 /checksum/SHA384/reset/5 750s ok 1304 /checksum/SHA384/reset/6 750s ok 1305 /checksum/SHA384/reset/7 750s ok 1306 /checksum/SHA384/reset/8 750s ok 1307 /checksum/SHA384/reset/9 750s ok 1308 /checksum/SHA384/reset/10 750s ok 1309 /checksum/SHA384/reset/11 750s ok 1310 /checksum/SHA384/reset/12 750s ok 1311 /checksum/SHA384/reset/13 750s ok 1312 /checksum/SHA384/reset/14 750s ok 1313 /checksum/SHA384/reset/15 750s ok 1314 /checksum/SHA384/reset/16 750s ok 1315 /checksum/SHA384/reset/17 750s ok 1316 /checksum/SHA384/reset/18 750s ok 1317 /checksum/SHA384/reset/19 750s ok 1318 /checksum/SHA384/reset/20 750s ok 1319 /checksum/SHA384/reset/21 750s ok 1320 /checksum/SHA384/reset/22 750s ok 1321 /checksum/SHA384/reset/23 750s ok 1322 /checksum/SHA384/reset/24 750s ok 1323 /checksum/SHA384/reset/25 750s ok 1324 /checksum/SHA384/reset/26 750s ok 1325 /checksum/SHA384/reset/27 750s ok 1326 /checksum/SHA384/reset/28 750s ok 1327 /checksum/SHA384/reset/29 750s ok 1328 /checksum/SHA384/reset/30 750s ok 1329 /checksum/SHA384/reset/31 750s ok 1330 /checksum/SHA384/reset/32 750s ok 1331 /checksum/SHA384/reset/33 750s ok 1332 /checksum/SHA384/reset/34 750s ok 1333 /checksum/SHA384/reset/35 750s ok 1334 /checksum/SHA384/reset/36 750s ok 1335 /checksum/SHA384/reset/37 750s ok 1336 /checksum/SHA384/reset/38 750s ok 1337 /checksum/SHA384/reset/39 750s ok 1338 /checksum/SHA384/reset/40 750s ok 1339 /checksum/SHA384/reset/41 750s ok 1340 /checksum/SHA384/reset/42 750s ok 1341 /checksum/SHA384/reset/43 750s ok 1342 /checksum/SHA384/reset/44 750s ok 1343 /checksum/SHA384/reset/45 750s ok 1344 /checksum/SHA384/reset/46 750s ok 1345 /checksum/SHA384/reset/47 750s ok 1346 /checksum/SHA384/reset/48 750s ok 1347 /checksum/SHA384/reset/49 750s ok 1348 /checksum/SHA384/reset/50 750s ok 1349 /checksum/SHA384/reset/51 750s ok 1350 /checksum/SHA384/reset/52 750s ok 1351 /checksum/SHA384/reset/53 750s ok 1352 /checksum/SHA384/reset/54 750s ok 1353 /checksum/SHA384/reset/55 750s ok 1354 /checksum/SHA384/reset/56 750s ok 1355 /checksum/SHA384/reset/57 750s ok 1356 /checksum/SHA384/reset/58 750s ok 1357 /checksum/SHA384/reset/59 750s ok 1358 /checksum/SHA384/reset/60 750s ok 1359 /checksum/SHA384/reset/61 750s ok 1360 /checksum/SHA384/reset/62 750s ok 1361 /checksum/SHA384/reset/63 750s ok 1362 /checksum/SHA384/reset/64 750s ok 1363 /checksum/SHA384/reset/65 750s ok 1364 /checksum/SHA384/reset/66 750s ok 1365 /checksum/SHA384/reset/67 750s ok 1366 /checksum/SHA384/reset/68 750s ok 1367 /checksum/SHA384/reset/69 750s ok 1368 /checksum/SHA384/reset/70 750s ok 1369 /checksum/SHA384/reset/71 750s ok 1370 /checksum/SHA384/reset/72 750s ok 1371 /checksum/SHA384/reset/73 750s ok 1372 /checksum/SHA384/reset/74 750s ok 1373 /checksum/SHA384/reset/75 750s ok 1374 /checksum/SHA384/reset/76 750s ok 1375 /checksum/SHA384/reset/77 750s ok 1376 /checksum/SHA384/reset/78 750s ok 1377 /checksum/SHA384/reset/79 750s ok 1378 /checksum/SHA384/reset/80 750s ok 1379 /checksum/SHA384/reset/81 750s ok 1380 /checksum/SHA384/reset/82 750s ok 1381 /checksum/SHA384/reset/83 750s ok 1382 /checksum/SHA384/reset/84 750s ok 1383 /checksum/SHA384/reset/85 750s ok 1384 /checksum/SHA384/reset/86 750s ok 1385 /checksum/SHA384/reset/87 750s ok 1386 /checksum/SHA384/reset/88 750s ok 1387 /checksum/SHA384/reset/89 750s ok 1388 /checksum/SHA384/reset/90 750s ok 1389 /checksum/SHA384/reset/91 750s ok 1390 /checksum/SHA384/reset/92 750s ok 1391 /checksum/SHA384/reset/93 750s ok 1392 /checksum/SHA384/reset/94 750s ok 1393 /checksum/SHA384/reset/95 750s ok 1394 /checksum/SHA384/reset/96 750s ok 1395 /checksum/SHA384/reset/97 750s ok 1396 /checksum/SHA384/reset/98 750s ok 1397 /checksum/SHA384/reset/99 750s ok 1398 /checksum/SHA384/reset/100 750s ok 1399 /checksum/SHA384/reset/101 750s ok 1400 /checksum/SHA384/reset/102 750s ok 1401 /checksum/SHA384/reset/103 750s ok 1402 /checksum/SHA384/reset/104 750s ok 1403 /checksum/SHA384/reset/105 750s ok 1404 /checksum/SHA384/reset/106 750s ok 1405 /checksum/SHA384/reset/107 750s ok 1406 /checksum/SHA384/reset/108 750s ok 1407 /checksum/SHA384/reset/109 750s ok 1408 /checksum/SHA384/reset/110 750s ok 1409 /checksum/SHA384/reset/111 750s ok 1410 /checksum/SHA384/reset/112 750s ok 1411 /checksum/SHA384/reset/113 750s ok 1412 /checksum/SHA384/reset/114 750s ok 1413 /checksum/SHA384/reset/115 750s ok 1414 /checksum/SHA384/reset/116 750s ok 1415 /checksum/SHA384/reset/117 750s ok 1416 /checksum/SHA384/reset/118 750s ok 1417 /checksum/SHA384/reset/119 750s ok 1418 /checksum/SHA384/reset/120 750s ok 1419 /checksum/SHA384/reset/121 750s ok 1420 /checksum/SHA384/reset/122 750s ok 1421 /checksum/SHA384/reset/123 750s ok 1422 /checksum/SHA384/reset/124 750s ok 1423 /checksum/SHA384/reset/125 750s ok 1424 /checksum/SHA384/reset/126 750s ok 1425 /checksum/SHA384/reset/127 750s ok 1426 /checksum/SHA384/reset/128 750s ok 1427 /checksum/SHA384/reset/129 750s ok 1428 /checksum/SHA384/reset/130 750s ok 1429 /checksum/SHA384/reset/131 750s ok 1430 /checksum/SHA384/reset/132 750s ok 1431 /checksum/SHA384/reset/133 750s ok 1432 /checksum/SHA384/reset/134 750s ok 1433 /checksum/SHA384/reset/135 750s ok 1434 /checksum/SHA384/reset/136 750s ok 1435 /checksum/SHA384/reset/137 750s ok 1436 /checksum/SHA384/reset/138 750s ok 1437 /checksum/SHA384/reset/139 750s ok 1438 /checksum/SHA384/reset/140 750s ok 1439 /checksum/SHA384/reset/141 750s ok 1440 /checksum/SHA384/reset/142 750s ok 1441 /checksum/SHA384/reset/143 750s ok 1442 /checksum/SHA384/reset/144 750s ok 1443 /checksum/SHA384/reset/145 750s ok 1444 /checksum/SHA384/reset/146 750s ok 1445 /checksum/SHA384/reset/147 750s ok 1446 /checksum/SHA384/reset/148 750s ok 1447 /checksum/SHA384/reset/149 750s ok 1448 /checksum/SHA384/reset/150 750s ok 1449 /checksum/SHA384/reset/151 750s ok 1450 /checksum/SHA384/reset/152 750s ok 1451 /checksum/SHA384/reset/153 750s ok 1452 /checksum/SHA384/reset/154 750s ok 1453 /checksum/SHA384/reset/155 750s ok 1454 /checksum/SHA384/reset/156 750s ok 1455 /checksum/SHA384/reset/157 750s ok 1456 /checksum/SHA384/reset/158 750s ok 1457 /checksum/SHA384/reset/159 750s ok 1458 /checksum/SHA384/reset/160 750s ok 1459 /checksum/SHA384/reset/161 750s ok 1460 /checksum/SHA384/reset/162 750s ok 1461 /checksum/SHA384/reset/163 750s ok 1462 /checksum/SHA384/reset/164 750s ok 1463 /checksum/SHA384/reset/165 750s ok 1464 /checksum/SHA384/reset/166 750s ok 1465 /checksum/SHA384/reset/167 750s ok 1466 /checksum/SHA384/reset/168 750s ok 1467 /checksum/SHA384/reset/169 750s ok 1468 /checksum/SHA384/reset/170 750s ok 1469 /checksum/SHA384/reset/171 750s ok 1470 /checksum/SHA384/reset/172 750s ok 1471 /checksum/SHA384/reset/173 750s ok 1472 /checksum/SHA384/reset/174 750s ok 1473 /checksum/SHA384/reset/175 750s ok 1474 /checksum/SHA384/reset/176 750s ok 1475 /checksum/SHA384/reset/177 750s ok 1476 /checksum/SHA384/reset/178 750s ok 1477 /checksum/SHA384/reset/179 750s ok 1478 /checksum/SHA384/reset/180 750s ok 1479 /checksum/SHA384/reset/181 750s ok 1480 /checksum/SHA384/reset/182 750s ok 1481 /checksum/SHA384/reset/183 750s # End of reset tests 750s # End of SHA384 tests 750s # Start of SHA512 tests 750s ok 1482 /checksum/SHA512/0 750s ok 1483 /checksum/SHA512/1 750s ok 1484 /checksum/SHA512/2 750s ok 1485 /checksum/SHA512/3 750s ok 1486 /checksum/SHA512/4 750s ok 1487 /checksum/SHA512/5 750s ok 1488 /checksum/SHA512/6 750s ok 1489 /checksum/SHA512/7 750s ok 1490 /checksum/SHA512/8 750s ok 1491 /checksum/SHA512/9 750s ok 1492 /checksum/SHA512/10 750s ok 1493 /checksum/SHA512/11 750s ok 1494 /checksum/SHA512/12 750s ok 1495 /checksum/SHA512/13 750s ok 1496 /checksum/SHA512/14 750s ok 1497 /checksum/SHA512/15 750s ok 1498 /checksum/SHA512/16 750s ok 1499 /checksum/SHA512/17 750s ok 1500 /checksum/SHA512/18 750s ok 1501 /checksum/SHA512/19 750s ok 1502 /checksum/SHA512/20 750s ok 1503 /checksum/SHA512/21 750s ok 1504 /checksum/SHA512/22 750s ok 1505 /checksum/SHA512/23 750s ok 1506 /checksum/SHA512/24 750s ok 1507 /checksum/SHA512/25 750s ok 1508 /checksum/SHA512/26 750s ok 1509 /checksum/SHA512/27 750s ok 1510 /checksum/SHA512/28 750s ok 1511 /checksum/SHA512/29 750s ok 1512 /checksum/SHA512/30 750s ok 1513 /checksum/SHA512/31 750s ok 1514 /checksum/SHA512/32 750s ok 1515 /checksum/SHA512/33 750s ok 1516 /checksum/SHA512/34 750s ok 1517 /checksum/SHA512/35 750s ok 1518 /checksum/SHA512/36 750s ok 1519 /checksum/SHA512/37 750s ok 1520 /checksum/SHA512/38 750s ok 1521 /checksum/SHA512/39 750s ok 1522 /checksum/SHA512/40 750s ok 1523 /checksum/SHA512/41 750s ok 1524 /checksum/SHA512/42 750s ok 1525 /checksum/SHA512/43 750s ok 1526 /checksum/SHA512/44 750s ok 1527 /checksum/SHA512/45 750s ok 1528 /checksum/SHA512/46 750s ok 1529 /checksum/SHA512/47 750s ok 1530 /checksum/SHA512/48 750s ok 1531 /checksum/SHA512/49 750s ok 1532 /checksum/SHA512/50 750s ok 1533 /checksum/SHA512/51 750s ok 1534 /checksum/SHA512/52 750s ok 1535 /checksum/SHA512/53 750s ok 1536 /checksum/SHA512/54 750s ok 1537 /checksum/SHA512/55 750s ok 1538 /checksum/SHA512/56 750s ok 1539 /checksum/SHA512/57 750s ok 1540 /checksum/SHA512/58 750s ok 1541 /checksum/SHA512/59 750s ok 1542 /checksum/SHA512/60 750s ok 1543 /checksum/SHA512/61 750s ok 1544 /checksum/SHA512/62 750s ok 1545 /checksum/SHA512/63 750s ok 1546 /checksum/SHA512/64 750s ok 1547 /checksum/SHA512/65 750s ok 1548 /checksum/SHA512/66 750s ok 1549 /checksum/SHA512/67 750s ok 1550 /checksum/SHA512/68 750s ok 1551 /checksum/SHA512/69 750s ok 1552 /checksum/SHA512/70 750s ok 1553 /checksum/SHA512/71 750s ok 1554 /checksum/SHA512/72 750s ok 1555 /checksum/SHA512/73 750s ok 1556 /checksum/SHA512/74 750s ok 1557 /checksum/SHA512/75 750s ok 1558 /checksum/SHA512/76 750s ok 1559 /checksum/SHA512/77 750s ok 1560 /checksum/SHA512/78 750s ok 1561 /checksum/SHA512/79 750s ok 1562 /checksum/SHA512/80 750s ok 1563 /checksum/SHA512/81 750s ok 1564 /checksum/SHA512/82 750s ok 1565 /checksum/SHA512/83 750s ok 1566 /checksum/SHA512/84 750s ok 1567 /checksum/SHA512/85 750s ok 1568 /checksum/SHA512/86 750s ok 1569 /checksum/SHA512/87 750s ok 1570 /checksum/SHA512/88 750s ok 1571 /checksum/SHA512/89 750s ok 1572 /checksum/SHA512/90 750s ok 1573 /checksum/SHA512/91 750s ok 1574 /checksum/SHA512/92 750s ok 1575 /checksum/SHA512/93 750s ok 1576 /checksum/SHA512/94 750s ok 1577 /checksum/SHA512/95 750s ok 1578 /checksum/SHA512/96 750s ok 1579 /checksum/SHA512/97 750s ok 1580 /checksum/SHA512/98 750s ok 1581 /checksum/SHA512/99 750s ok 1582 /checksum/SHA512/100 750s ok 1583 /checksum/SHA512/101 750s ok 1584 /checksum/SHA512/102 750s ok 1585 /checksum/SHA512/103 750s ok 1586 /checksum/SHA512/104 750s ok 1587 /checksum/SHA512/105 750s ok 1588 /checksum/SHA512/106 750s ok 1589 /checksum/SHA512/107 750s ok 1590 /checksum/SHA512/108 750s ok 1591 /checksum/SHA512/109 750s ok 1592 /checksum/SHA512/110 750s ok 1593 /checksum/SHA512/111 750s ok 1594 /checksum/SHA512/112 750s ok 1595 /checksum/SHA512/113 750s ok 1596 /checksum/SHA512/114 750s ok 1597 /checksum/SHA512/115 750s ok 1598 /checksum/SHA512/116 750s ok 1599 /checksum/SHA512/117 750s ok 1600 /checksum/SHA512/118 750s ok 1601 /checksum/SHA512/119 750s ok 1602 /checksum/SHA512/120 750s ok 1603 /checksum/SHA512/121 750s ok 1604 /checksum/SHA512/122 750s ok 1605 /checksum/SHA512/123 750s ok 1606 /checksum/SHA512/124 750s ok 1607 /checksum/SHA512/125 750s ok 1608 /checksum/SHA512/126 750s ok 1609 /checksum/SHA512/127 750s ok 1610 /checksum/SHA512/128 750s ok 1611 /checksum/SHA512/129 750s ok 1612 /checksum/SHA512/130 750s ok 1613 /checksum/SHA512/131 750s ok 1614 /checksum/SHA512/132 750s ok 1615 /checksum/SHA512/133 750s ok 1616 /checksum/SHA512/134 750s ok 1617 /checksum/SHA512/135 750s ok 1618 /checksum/SHA512/136 750s ok 1619 /checksum/SHA512/137 750s ok 1620 /checksum/SHA512/138 750s ok 1621 /checksum/SHA512/139 750s ok 1622 /checksum/SHA512/140 750s ok 1623 /checksum/SHA512/141 750s ok 1624 /checksum/SHA512/142 750s ok 1625 /checksum/SHA512/143 750s ok 1626 /checksum/SHA512/144 750s ok 1627 /checksum/SHA512/145 750s ok 1628 /checksum/SHA512/146 750s ok 1629 /checksum/SHA512/147 750s ok 1630 /checksum/SHA512/148 750s ok 1631 /checksum/SHA512/149 750s ok 1632 /checksum/SHA512/150 750s ok 1633 /checksum/SHA512/151 750s ok 1634 /checksum/SHA512/152 750s ok 1635 /checksum/SHA512/153 750s ok 1636 /checksum/SHA512/154 750s ok 1637 /checksum/SHA512/155 750s ok 1638 /checksum/SHA512/156 750s ok 1639 /checksum/SHA512/157 750s ok 1640 /checksum/SHA512/158 750s ok 1641 /checksum/SHA512/159 750s ok 1642 /checksum/SHA512/160 750s ok 1643 /checksum/SHA512/161 750s ok 1644 /checksum/SHA512/162 750s ok 1645 /checksum/SHA512/163 750s ok 1646 /checksum/SHA512/164 750s ok 1647 /checksum/SHA512/165 750s ok 1648 /checksum/SHA512/166 750s ok 1649 /checksum/SHA512/167 750s ok 1650 /checksum/SHA512/168 750s ok 1651 /checksum/SHA512/169 750s ok 1652 /checksum/SHA512/170 750s ok 1653 /checksum/SHA512/171 750s ok 1654 /checksum/SHA512/172 750s ok 1655 /checksum/SHA512/173 750s ok 1656 /checksum/SHA512/174 750s ok 1657 /checksum/SHA512/175 750s ok 1658 /checksum/SHA512/176 750s ok 1659 /checksum/SHA512/177 750s ok 1660 /checksum/SHA512/178 750s ok 1661 /checksum/SHA512/179 750s ok 1662 /checksum/SHA512/180 750s ok 1663 /checksum/SHA512/181 750s ok 1664 /checksum/SHA512/182 750s ok 1665 /checksum/SHA512/183 750s ok 1666 /checksum/SHA512/string 750s ok 1667 /checksum/SHA512/bytes 750s # Start of reset tests 750s ok 1668 /checksum/SHA512/reset/0 750s ok 1669 /checksum/SHA512/reset/1 750s ok 1670 /checksum/SHA512/reset/2 750s ok 1671 /checksum/SHA512/reset/3 750s ok 1672 /checksum/SHA512/reset/4 750s ok 1673 /checksum/SHA512/reset/5 750s ok 1674 /checksum/SHA512/reset/6 750s ok 1675 /checksum/SHA512/reset/7 750s ok 1676 /checksum/SHA512/reset/8 750s ok 1677 /checksum/SHA512/reset/9 750s ok 1678 /checksum/SHA512/reset/10 750s ok 1679 /checksum/SHA512/reset/11 750s ok 1680 /checksum/SHA512/reset/12 750s ok 1681 /checksum/SHA512/reset/13 750s ok 1682 /checksum/SHA512/reset/14 750s ok 1683 /checksum/SHA512/reset/15 750s ok 1684 /checksum/SHA512/reset/16 750s ok 1685 /checksum/SHA512/reset/17 750s ok 1686 /checksum/SHA512/reset/18 750s ok 1687 /checksum/SHA512/reset/19 750s ok 1688 /checksum/SHA512/reset/20 750s ok 1689 /checksum/SHA512/reset/21 750s ok 1690 /checksum/SHA512/reset/22 750s ok 1691 /checksum/SHA512/reset/23 750s ok 1692 /checksum/SHA512/reset/24 750s ok 1693 /checksum/SHA512/reset/25 750s ok 1694 /checksum/SHA512/reset/26 750s ok 1695 /checksum/SHA512/reset/27 750s ok 1696 /checksum/SHA512/reset/28 750s ok 1697 /checksum/SHA512/reset/29 750s ok 1698 /checksum/SHA512/reset/30 750s ok 1699 /checksum/SHA512/reset/31 750s ok 1700 /checksum/SHA512/reset/32 750s ok 1701 /checksum/SHA512/reset/33 750s ok 1702 /checksum/SHA512/reset/34 750s ok 1703 /checksum/SHA512/reset/35 750s ok 1704 /checksum/SHA512/reset/36 750s ok 1705 /checksum/SHA512/reset/37 750s ok 1706 /checksum/SHA512/reset/38 750s ok 1707 /checksum/SHA512/reset/39 750s ok 1708 /checksum/SHA512/reset/40 750s ok 1709 /checksum/SHA512/reset/41 750s ok 1710 /checksum/SHA512/reset/42 750s ok 1711 /checksum/SHA512/reset/43 750s ok 1712 /checksum/SHA512/reset/44 750s ok 1713 /checksum/SHA512/reset/45 750s ok 1714 /checksum/SHA512/reset/46 750s ok 1715 /checksum/SHA512/reset/47 750s ok 1716 /checksum/SHA512/reset/48 750s ok 1717 /checksum/SHA512/reset/49 750s ok 1718 /checksum/SHA512/reset/50 750s ok 1719 /checksum/SHA512/reset/51 750s ok 1720 /checksum/SHA512/reset/52 750s ok 1721 /checksum/SHA512/reset/53 750s ok 1722 /checksum/SHA512/reset/54 750s ok 1723 /checksum/SHA512/reset/55 750s ok 1724 /checksum/SHA512/reset/56 750s ok 1725 /checksum/SHA512/reset/57 750s ok 1726 /checksum/SHA512/reset/58 750s ok 1727 /checksum/SHA512/reset/59 750s ok 1728 /checksum/SHA512/reset/60 750s ok 1729 /checksum/SHA512/reset/61 750s ok 1730 /checksum/SHA512/reset/62 750s ok 1731 /checksum/SHA512/reset/63 750s ok 1732 /checksum/SHA512/reset/64 750s ok 1733 /checksum/SHA512/reset/65 750s ok 1734 /checksum/SHA512/reset/66 750s ok 1735 /checksum/SHA512/reset/67 750s ok 1736 /checksum/SHA512/reset/68 750s ok 1737 /checksum/SHA512/reset/69 750s ok 1738 /checksum/SHA512/reset/70 750s ok 1739 /checksum/SHA512/reset/71 750s ok 1740 /checksum/SHA512/reset/72 750s ok 1741 /checksum/SHA512/reset/73 750s ok 1742 /checksum/SHA512/reset/74 750s ok 1743 /checksum/SHA512/reset/75 750s ok 1744 /checksum/SHA512/reset/76 750s ok 1745 /checksum/SHA512/reset/77 750s ok 1746 /checksum/SHA512/reset/78 750s ok 1747 /checksum/SHA512/reset/79 750s ok 1748 /checksum/SHA512/reset/80 750s ok 1749 /checksum/SHA512/reset/81 750s ok 1750 /checksum/SHA512/reset/82 750s ok 1751 /checksum/SHA512/reset/83 750s ok 1752 /checksum/SHA512/reset/84 750s ok 1753 /checksum/SHA512/reset/85 750s ok 1754 /checksum/SHA512/reset/86 750s ok 1755 /checksum/SHA512/reset/87 750s ok 1756 /checksum/SHA512/reset/88 750s ok 1757 /checksum/SHA512/reset/89 750s ok 1758 /checksum/SHA512/reset/90 750s ok 1759 /checksum/SHA512/reset/91 750s ok 1760 /checksum/SHA512/reset/92 750s ok 1761 /checksum/SHA512/reset/93 750s ok 1762 /checksum/SHA512/reset/94 750s ok 1763 /checksum/SHA512/reset/95 750s ok 1764 /checksum/SHA512/reset/96 750s ok 1765 /checksum/SHA512/reset/97 750s ok 1766 /checksum/SHA512/reset/98 750s ok 1767 /checksum/SHA512/reset/99 750s ok 1768 /checksum/SHA512/reset/100 750s ok 1769 /checksum/SHA512/reset/101 750s ok 1770 /checksum/SHA512/reset/102 750s ok 1771 /checksum/SHA512/reset/103 750s ok 1772 /checksum/SHA512/reset/104 750s ok 1773 /checksum/SHA512/reset/105 750s ok 1774 /checksum/SHA512/reset/106 750s ok 1775 /checksum/SHA512/reset/107 750s ok 1776 /checksum/SHA512/reset/108 750s ok 1777 /checksum/SHA512/reset/109 750s ok 1778 /checksum/SHA512/reset/110 750s ok 1779 /checksum/SHA512/reset/111 750s ok 1780 /checksum/SHA512/reset/112 750s ok 1781 /checksum/SHA512/reset/113 750s ok 1782 /checksum/SHA512/reset/114 750s ok 1783 /checksum/SHA512/reset/115 750s ok 1784 /checksum/SHA512/reset/116 750s ok 1785 /checksum/SHA512/reset/117 750s ok 1786 /checksum/SHA512/reset/118 750s ok 1787 /checksum/SHA512/reset/119 750s ok 1788 /checksum/SHA512/reset/120 750s ok 1789 /checksum/SHA512/reset/121 750s ok 1790 /checksum/SHA512/reset/122 750s ok 1791 /checksum/SHA512/reset/123 750s ok 1792 /checksum/SHA512/reset/124 750s ok 1793 /checksum/SHA512/reset/125 750s ok 1794 /checksum/SHA512/reset/126 750s ok 1795 /checksum/SHA512/reset/127 750s ok 1796 /checksum/SHA512/reset/128 750s ok 1797 /checksum/SHA512/reset/129 750s ok 1798 /checksum/SHA512/reset/130 750s ok 1799 /checksum/SHA512/reset/131 750s ok 1800 /checksum/SHA512/reset/132 750s ok 1801 /checksum/SHA512/reset/133 750s ok 1802 /checksum/SHA512/reset/134 750s ok 1803 /checksum/SHA512/reset/135 750s ok 1804 /checksum/SHA512/reset/136 750s ok 1805 /checksum/SHA512/reset/137 750s ok 1806 /checksum/SHA512/reset/138 750s ok 1807 /checksum/SHA512/reset/139 750s ok 1808 /checksum/SHA512/reset/140 750s ok 1809 /checksum/SHA512/reset/141 750s ok 1810 /checksum/SHA512/reset/142 750s ok 1811 /checksum/SHA512/reset/143 750s ok 1812 /checksum/SHA512/reset/144 750s ok 1813 /checksum/SHA512/reset/145 750s ok 1814 /checksum/SHA512/reset/146 750s ok 1815 /checksum/SHA512/reset/147 750s ok 1816 /checksum/SHA512/reset/148 750s ok 1817 /checksum/SHA512/reset/149 750s ok 1818 /checksum/SHA512/reset/150 750s ok 1819 /checksum/SHA512/reset/151 750s ok 1820 /checksum/SHA512/reset/152 750s ok 1821 /checksum/SHA512/reset/153 750s ok 1822 /checksum/SHA512/reset/154 750s ok 1823 /checksum/SHA512/reset/155 750s ok 1824 /checksum/SHA512/reset/156 750s ok 1825 /checksum/SHA512/reset/157 750s ok 1826 /checksum/SHA512/reset/158 750s ok 1827 /checksum/SHA512/reset/159 750s ok 1828 /checksum/SHA512/reset/160 750s ok 1829 /checksum/SHA512/reset/161 750s ok 1830 /checksum/SHA512/reset/162 750s ok 1831 /checksum/SHA512/reset/163 750s ok 1832 /checksum/SHA512/reset/164 750s ok 1833 /checksum/SHA512/reset/165 750s ok 1834 /checksum/SHA512/reset/166 750s ok 1835 /checksum/SHA512/reset/167 750s ok 1836 /checksum/SHA512/reset/168 750s ok 1837 /checksum/SHA512/reset/169 750s ok 1838 /checksum/SHA512/reset/170 750s ok 1839 /checksum/SHA512/reset/171 750s ok 1840 /checksum/SHA512/reset/172 750s ok 1841 /checksum/SHA512/reset/173 750s ok 1842 /checksum/SHA512/reset/174 750s ok 1843 /checksum/SHA512/reset/175 750s ok 1844 /checksum/SHA512/reset/176 750s ok 1845 /checksum/SHA512/reset/177 750s ok 1846 /checksum/SHA512/reset/178 750s ok 1847 /checksum/SHA512/reset/179 750s ok - glib/checksum.test 750s # Running test: glib/cxx-11.test 750s ok - glib/cxx-11.test 750s # Running test: glib/gi-compile-repository.py.test 750s ok 1848 /checksum/SHA512/reset/180 750s ok 1849 /checksum/SHA512/reset/181 750s ok 1850 /checksum/SHA512/reset/182 750s ok 1851 /checksum/SHA512/reset/183 750s # End of reset tests 750s # End of SHA512 tests 750s # End of checksum tests 750s TAP version 14 750s # random seed: R02S037b485974601b2c11e4465ec179fc1c 750s 1..2 750s # Start of gtask tests 750s # 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. 750s ok 1 /gtask/name 750s # Start of name tests 750s # 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. 750s ok 2 /gtask/name/macro-wrapper 750s # End of name tests 750s # End of gtask tests 750s TAP version 13 750s ok 1 __main__.TestGICompileRepository.test_open_failure 750s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 750s # gi-compile-repository: /usr/bin/gi-compile-repository 750s # tmpdir: /tmp/tmp239odgtt 750s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp239odgtt/invalid.typelib'] 750s # Return code: 1 750s # Output: 750s # 750s # Error: 750s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 750s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 750s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 750s # gi-compile-repository: /usr/bin/gi-compile-repository 750s # tmpdir: /tmp/tmp2qxv3_3j 750s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp2qxv3_3j/GLib-2.typelib'] 750s # Return code: 0 750s # Output: 750s # 750s # Error: 750s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 750s # gi-compile-repository: /usr/bin/gi-compile-repository 750s # tmpdir: /tmp/tmpui76exzw 750s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 750s # Return code: 1 750s # Output: 750s # 750s # Error: 750s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 750s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 750s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 750s # gi-compile-repository: /usr/bin/gi-compile-repository 750s # tmpdir: /tmp/tmpewt8alhi 750s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpewt8alhi/GObject-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 750s # Return code: 0 750s # Output: 750s # 750s # Error: 751s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 751s # gi-compile-repository: /usr/bin/gi-compile-repository 751s # tmpdir: /tmp/tmpvmci9c75 751s # 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/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 751s # Return code: 1 751s # Output: 751s # 751s # Error: 751s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 751s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 751s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 751s # gi-compile-repository: /usr/bin/gi-compile-repository 751s # tmpdir: /tmp/tmplpfxt7cp 751s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmplpfxt7cp/Gio-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 751s # Return code: 0 751s # Output: 751s # 751s # Error: 751s # Executing: glib/gi-compile-repository.py.test 751s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 751s # gi-compile-repository: /usr/bin/gi-compile-repository 751s # tmpdir: /tmp/tmp55ns33p6 751s # 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/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 751s # Return code: 1 751s # Output: 751s # 751s # Error: 751s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 751s 1..7 751s ok - glib/gi-compile-repository.py.test 751s # Running test: glib/basics-gobject.test 751s TAP version 14 751s # random seed: R02S2a46bb1eae80306a06535fba46e12fa0 751s 1..1 751s # Start of gobject tests 751s # private data during initialization: 54321 == 54321 751s # MAIN: emit test-signal: 751s # ::test_signal default_handler called 751s # ::test_signal default_handler called 751s # ::test_signal default_handler called 751s # signal return: "" 751s # MAIN: call iface print-string on test and derived object: 751s # Iface-FOO: "iface-string-from-test-type" from 0x2aa2bee2860 751s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa2bee2710 751s # chaining: 751s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa2bee2710 751s # private data after initialization: 54321 == 54321 751s ok 1 /gobject/basics 751s # End of gobject tests 751s ok - glib/basics-gobject.test 751s # Running test: glib/volumemonitor.test 751s TAP version 14 751s # random seed: R02S5ef0c90599cbec44dafddfa275c6a6f8 751s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 751s 1..3 751s # Start of volumemonitor tests 751s ok 1 /volumemonitor/connected_drives 751s ok 2 /volumemonitor/volumes 751s ok 3 /volumemonitor/mounts 751s # End of volumemonitor tests 751s ok - glib/volumemonitor.test 751s # Running test: glib/keyfile.test 751s TAP version 14 751s # random seed: R02Sab830f6ec5f2b79321785d19999b7b4d 751s 1..36 751s # Start of keyfile tests 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/line-ends/.dirs/runtime 751s ok 1 /keyfile/line-ends 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/whitespace/.dirs/runtime 751s ok 2 /keyfile/whitespace 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/comments/.dirs/runtime 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 751s ok 3 /keyfile/comments 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/state 751s ok - glib/keyfile.test 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/listing/.dirs/runtime 751s ok 4 /keyfile/listing 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/string/.dirs/runtime 751s ok 5 /keyfile/string 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/boolean/.dirs/runtime 751s ok 6 /keyfile/boolean 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/number/.dirs/runtime 751s ok 7 /keyfile/number 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/.dirs/runtime 751s ok 8 /keyfile/locale-string 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/lists/.dirs/runtime 751s ok 9 /keyfile/lists 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/lists-set-get/.dirs/runtime 751s ok 10 /keyfile/lists-set-get 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/group-remove/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 751s ok 11 /keyfile/group-remove 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/key-remove/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 751s ok 12 /keyfile/key-remove 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/groups/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 751s ok 13 /keyfile/groups 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-keys/.dirs/runtime 751s ok 14 /keyfile/duplicate-keys 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 751s ok 15 /keyfile/duplicate-groups 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/duplicate-groups2/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 751s ok 16 /keyfile/duplicate-groups2 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/group-names/.dirs/runtime 751s ok 17 /keyfile/group-names 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/key-names/.dirs/runtime 751s ok 18 /keyfile/key-names 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/reload/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 751s ok 19 /keyfile/reload 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/int64/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 751s ok 20 /keyfile/int64 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/load/.dirs/runtime 751s ok 21 /keyfile/load 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/save/.dirs/runtime 751s ok 22 /keyfile/save 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/load-fail/.dirs/runtime 751s ok 23 /keyfile/load-fail 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/non-utf8/.dirs/runtime 751s ok 24 /keyfile/non-utf8 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/page-boundary/.dirs/runtime 751s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 751s ok 25 /keyfile/page-boundary 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/ref/.dirs/runtime 751s ok 26 /keyfile/ref 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/replace-value/.dirs/runtime 751s ok 27 /keyfile/replace-value 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/list-separator/.dirs/runtime 751s ok 28 /keyfile/list-separator 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/empty-string/.dirs/runtime 751s ok 29 /keyfile/empty-string 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/limbo/.dirs/runtime 751s ok 30 /keyfile/limbo 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/utf8/.dirs/runtime 751s # Testing invalid encoding ‘non-UTF-8’ 751s # Testing invalid encoding ‘UTF’ 751s # Testing invalid encoding ‘UTF-9’ 751s ok 31 /keyfile/utf8 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/roundtrip/.dirs/runtime 751s ok 32 /keyfile/roundtrip 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/bytes/.dirs/runtime 751s ok 33 /keyfile/bytes 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/get-locale/.dirs/runtime 751s ok 34 /keyfile/get-locale 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/free-when-not-last-ref/.dirs/runtime 751s ok 35 /keyfile/free-when-not-last-ref 751s # Start of locale-string tests 751s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/home 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/cache 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/system-config2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/config 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/system-data2 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/data 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/state 751s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9PD1E3/keyfile/locale-string/multiple-loads/.dirs/runtime 751s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 751s ok 36 /keyfile/locale-string/multiple-loads 751s # End of locale-string tests 751s # End of keyfile tests 751s TAP version 14 751s # random seed: R02Sae4791328141d0453c996023a6078b7a 751s 1..2 751s # Start of cmph-bdz tests 751s ok 1 /cmph-bdz/search 751s ok 2 /cmph-bdz/search-packed 751s # End of cmph-bdz tests 751s TAP version 14 751s # random seed: R02S9fe6d58b1258c2185f4c2f005ef657ed 751s 1..1 751s # Start of completion tests 751s ok 1 /completion/test-completion 751s # End of completion tests 751s TAP version 14 751s # random seed: R02S0dda6206fc9df071a327076cc9f143bb 751s 1..1 751s # Start of gio tests 751s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 751s # random seed: R02S8268f0a13aa640f308eaf1e7731ffd1f 751s # Running test: glib/cmph-bdz.test 751s ok - glib/cmph-bdz.test 751s # Running test: glib/completion.test 751s ok - glib/completion.test 751s # Running test: glib/io-channel-basic.test 752s # GLib-DEBUG: io-channel-basic: child writing 8+827 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 827 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+877 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 877 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3224 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 3224 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3989 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 3989 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2510 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 2510 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+723 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 723 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+4796 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 4796 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4310 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 4310 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3295 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 3295 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1551 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 1551 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3104 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 3104 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4741 bytes to 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 4741 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1034 bytes to 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 1034 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1925 bytes to 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 1925 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3393 bytes to 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 3393 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+105 bytes to 6 756s # GLib-DEBUG: io-channel-basic: ...from 5: IN 756s # GLib-DEBUG: io-channel-basic: ...from 5: 105 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 5: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3972 bytes to 6 756s # GLib-DEBUG: io-channel-basic: ...from 5: IN 756s # GLib-DEBUG: io-channel-basic: ...from 5: 3972 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 5: OK 756s # Executing: glib/io-channel-basic.test 756s # GLib-DEBUG: io-channel-basic: child writing 8+1097 bytes to 6 756s # GLib-DEBUG: io-channel-basic: ...from 5: IN 756s # GLib-DEBUG: io-channel-basic: ...from 5: 1097 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 5: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2156 bytes to 6 756s # GLib-DEBUG: io-channel-basic: ...from 5: IN 756s # GLib-DEBUG: io-channel-basic: ...from 5: 2156 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 5: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+1354 bytes to 6 757s # GLib-DEBUG: io-channel-basic: ...from 5: IN 757s # GLib-DEBUG: io-channel-basic: ...from 5: 1354 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 5: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2368 bytes to 6 757s # GLib-DEBUG: io-channel-basic: ...from 5: IN 757s # GLib-DEBUG: io-channel-basic: ...from 5: 2368 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 5: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2187 bytes to 6 757s # GLib-DEBUG: io-channel-basic: ...from 5: IN 757s # GLib-DEBUG: io-channel-basic: ...from 5: 2187 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 5: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+134 bytes to 6 758s # GLib-DEBUG: io-channel-basic: ...from 5: IN 758s # GLib-DEBUG: io-channel-basic: ...from 5: 134 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 5: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4353 bytes to 6 758s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 758s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 758s # GLib-DEBUG: io-channel-basic: ...from 5: 4353 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 5: OK 758s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 758s # random seed: R02S0c1c190dc5645acf0052375079c668af 758s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 758s # random seed: R02Sfa977b7124fe331ee6c4be70640b3a58 758s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 758s # random seed: R02Sf95971ff5e9974f21b90600ddceefb5b 758s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 758s # random seed: R02S0f17ff3eabcbbdc3fa9dbd97ede20e02 758s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 758s # random seed: R02S791cead612492bfd7e92651db18ba732 758s # GLib-DEBUG: io-channel-basic: child writing 8+2917 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 2917 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+508 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 508 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4585 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 4585 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+835 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 835 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1021 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 1021 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4266 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 4266 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2099 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 2099 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+76 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 76 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+467 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 467 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4066 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 4066 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2228 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 2228 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2782 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 2782 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3221 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 3221 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1601 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 1601 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1825 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 1825 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2184 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 2184 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1721 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 1721 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2098 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 2098 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+861 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 861 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+63 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 63 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+955 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 955 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1399 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 1399 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3200 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 3200 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1511 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 1511 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1120 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 1120 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1099 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 1099 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+139 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 139 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2972 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 2972 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1497 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 1497 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2085 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 2085 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+4122 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 4122 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3828 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 3828 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+96 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 96 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1230 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 1230 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3650 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 3650 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2462 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 2462 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2147 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 2147 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+4684 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 4684 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1769 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 1769 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3383 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 3383 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 4069 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 3606 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3306 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 3306 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2188 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 2188 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+833 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 833 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3407 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 3407 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3903 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 3903 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+692 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 692 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 2171 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+321 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 321 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+2139 bytes to 11 761s # GLib-DEBUG: io-channel-basic: ...from 10: IN 761s # GLib-DEBUG: io-channel-basic: ...from 10: 2139 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 10: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3289 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 3289 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3170 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 3170 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3433 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 3433 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3275 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 3275 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+2637 bytes to 11 761s # GLib-DEBUG: io-channel-basic: ...from 10: IN 761s # GLib-DEBUG: io-channel-basic: ...from 10: 2637 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 10: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3063 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 3063 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+2143 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 2143 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4045 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 4045 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4787 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 4787 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # Executing: glib/io-channel-basic.test 761s # GLib-DEBUG: io-channel-basic: child writing 8+2094 bytes to 11 761s # GLib-DEBUG: io-channel-basic: ...from 10: IN 761s # GLib-DEBUG: io-channel-basic: ...from 10: 2094 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 10: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3341 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 3341 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+701 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 701 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4562 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 4562 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3414 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 3414 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3778 bytes to 11 761s # GLib-DEBUG: io-channel-basic: ...from 10: IN 761s # GLib-DEBUG: io-channel-basic: ...from 10: 3778 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 10: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3772 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 3772 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4851 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 4851 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4714 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 4714 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+3273 bytes to 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 3273 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+464 bytes to 11 762s # GLib-DEBUG: io-channel-basic: ...from 10: IN 762s # GLib-DEBUG: io-channel-basic: ...from 10: 464 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 10: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+314 bytes to 15 762s # GLib-DEBUG: io-channel-basic: ...from 14: IN 762s # GLib-DEBUG: io-channel-basic: ...from 14: 314 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 14: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1813 bytes to 9 762s # GLib-DEBUG: io-channel-basic: ...from 8: IN 762s # GLib-DEBUG: io-channel-basic: ...from 8: 1813 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 8: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1192 bytes to 17 762s # GLib-DEBUG: io-channel-basic: ...from 16: IN 762s # GLib-DEBUG: io-channel-basic: ...from 16: 1192 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 16: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+2677 bytes to 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 2677 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1442 bytes to 11 762s # GLib-DEBUG: io-channel-basic: ...from 10: IN 762s # GLib-DEBUG: io-channel-basic: ...from 10: 1442 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 10: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+2274 bytes to 15 762s # GLib-DEBUG: io-channel-basic: ...from 14: IN 762s # GLib-DEBUG: io-channel-basic: ...from 14: 2274 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 14: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+579 bytes to 9 762s # GLib-DEBUG: io-channel-basic: ...from 8: IN 762s # GLib-DEBUG: io-channel-basic: ...from 8: 579 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 8: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1250 bytes to 17 762s # GLib-DEBUG: io-channel-basic: ...from 16: IN 762s # GLib-DEBUG: io-channel-basic: ...from 16: 1250 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 16: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+2424 bytes to 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 2424 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1767 bytes to 11 762s # GLib-DEBUG: io-channel-basic: ...from 10: IN 762s # GLib-DEBUG: io-channel-basic: ...from 10: 1767 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 10: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+987 bytes to 15 762s # GLib-DEBUG: io-channel-basic: ...from 14: IN 762s # GLib-DEBUG: io-channel-basic: ...from 14: 987 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 14: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 9 762s # GLib-DEBUG: io-channel-basic: ...from 8: IN 762s # GLib-DEBUG: io-channel-basic: ...from 8: 16 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 8: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+4437 bytes to 17 762s # GLib-DEBUG: io-channel-basic: ...from 16: IN 762s # GLib-DEBUG: io-channel-basic: ...from 16: 4437 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 16: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+2891 bytes to 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 2891 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+58 bytes to 11 762s # GLib-DEBUG: io-channel-basic: ...from 10: IN 762s # GLib-DEBUG: io-channel-basic: ...from 10: 58 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 10: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1780 bytes to 15 762s # GLib-DEBUG: io-channel-basic: ...from 14: IN 762s # GLib-DEBUG: io-channel-basic: ...from 14: 1780 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 14: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+1353 bytes to 9 763s # GLib-DEBUG: io-channel-basic: ...from 8: IN 763s # GLib-DEBUG: io-channel-basic: ...from 8: 1353 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 8: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+3377 bytes to 17 763s # GLib-DEBUG: io-channel-basic: ...from 16: IN 763s # GLib-DEBUG: io-channel-basic: ...from 16: 3377 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 16: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+300 bytes to 13 763s # GLib-DEBUG: io-channel-basic: ...from 12: IN 763s # GLib-DEBUG: io-channel-basic: ...from 12: 300 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 12: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+1870 bytes to 11 763s # GLib-DEBUG: io-channel-basic: ...from 10: IN 763s # GLib-DEBUG: io-channel-basic: ...from 10: 1870 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 10: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+3008 bytes to 15 763s # GLib-DEBUG: io-channel-basic: ...from 14: IN 763s # GLib-DEBUG: io-channel-basic: ...from 14: 3008 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 14: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+3182 bytes to 9 763s # GLib-DEBUG: io-channel-basic: ...from 8: IN 763s # GLib-DEBUG: io-channel-basic: ...from 8: 3182 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 8: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+4760 bytes to 17 763s # GLib-DEBUG: io-channel-basic: ...from 16: IN 763s # GLib-DEBUG: io-channel-basic: ...from 16: 4760 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 16: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+3679 bytes to 13 763s # GLib-DEBUG: io-channel-basic: ...from 12: IN 763s # GLib-DEBUG: io-channel-basic: ...from 12: 3679 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 12: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+4338 bytes to 11 763s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 763s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 763s # GLib-DEBUG: io-channel-basic: ...from 10: 4338 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 10: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+4843 bytes to 15 763s # GLib-DEBUG: io-channel-basic: ...from 14: IN 763s # GLib-DEBUG: io-channel-basic: ...from 14: 4843 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 14: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+2028 bytes to 17 763s # GLib-DEBUG: io-channel-basic: ...from 16: IN 763s # GLib-DEBUG: io-channel-basic: ...from 16: 2028 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 16: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+692 bytes to 9 763s # GLib-DEBUG: io-channel-basic: ...from 8: IN 763s # GLib-DEBUG: io-channel-basic: ...from 8: 692 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 8: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+2537 bytes to 13 763s # GLib-DEBUG: io-channel-basic: ...from 12: IN 763s # GLib-DEBUG: io-channel-basic: ...from 12: 2537 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 12: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+3673 bytes to 15 763s # GLib-DEBUG: io-channel-basic: ...from 14: IN 763s # GLib-DEBUG: io-channel-basic: ...from 14: 3673 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 14: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+2086 bytes to 17 763s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 763s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 763s # GLib-DEBUG: io-channel-basic: ...from 16: 2086 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 16: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+888 bytes to 9 763s # GLib-DEBUG: io-channel-basic: ...from 8: IN 763s # GLib-DEBUG: io-channel-basic: ...from 8: 888 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 8: OK 763s # GLib-DEBUG: io-channel-basic: child writing 8+1433 bytes to 13 763s # GLib-DEBUG: io-channel-basic: ...from 12: IN 763s # GLib-DEBUG: io-channel-basic: ...from 12: 1433 bytes 763s # GLib-DEBUG: io-channel-basic: ...from 12: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+4157 bytes to 15 764s # GLib-DEBUG: io-channel-basic: ...from 14: IN 764s # GLib-DEBUG: io-channel-basic: ...from 14: 4157 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 14: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+1762 bytes to 9 764s # GLib-DEBUG: io-channel-basic: ...from 8: IN 764s # GLib-DEBUG: io-channel-basic: ...from 8: 1762 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 8: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+3014 bytes to 13 764s # GLib-DEBUG: io-channel-basic: ...from 12: IN 764s # GLib-DEBUG: io-channel-basic: ...from 12: 3014 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 12: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+27 bytes to 15 764s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 764s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 764s # GLib-DEBUG: io-channel-basic: ...from 14: 27 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 14: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+583 bytes to 9 764s # GLib-DEBUG: io-channel-basic: ...from 8: IN 764s # GLib-DEBUG: io-channel-basic: ...from 8: 583 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 8: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+2378 bytes to 13 764s # GLib-DEBUG: io-channel-basic: ...from 12: IN 764s # GLib-DEBUG: io-channel-basic: ...from 12: 2378 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 12: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+3005 bytes to 9 764s # GLib-DEBUG: io-channel-basic: ...from 8: IN 764s # GLib-DEBUG: io-channel-basic: ...from 8: 3005 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 8: OK 764s # GLib-DEBUG: io-channel-basic: child writing 8+910 bytes to 13 764s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 764s # GLib-DEBUG: io-channel-basic: ...from 12: IN 764s # GLib-DEBUG: io-channel-basic: ...from 12: 910 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 12: OK 764s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 764s # GLib-DEBUG: io-channel-basic: child writing 8+204 bytes to 9 764s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 764s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 764s # GLib-DEBUG: io-channel-basic: ...from 8: 204 bytes 764s # GLib-DEBUG: io-channel-basic: ...from 8: OK 764s ok 1 /gio/io-basics 764s # slow test /gio/io-basics executed in 12.93 secs 764s # End of gio tests 764s ok - glib/io-channel-basic.test 764s # Running test: glib/cxx-2b.test 764s TAP version 14 764s # random seed: R02S34a5e925fd6aa483e29e43c791b79a4e 764s 1..2 764s # Start of gtask tests 764s # 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. 764s ok 1 /gtask/name 764s # Start of name tests 764s # 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. 764s ok 2 /gtask/name/macro-wrapper 764s # End of name tests 764s # End of gtask tests 764s ok - glib/cxx-2b.test 764s # Running test: glib/gio-tool.py.test 764s TAP version 13 764s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 764s # gio: /usr/bin/gio 764s # tmpdir: /tmp/tmpuiob8hcm 764s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpuiob8hcm/folder/desktop.entry'] 764s # Working Directory: /tmp/tmpuiob8hcm/folder 764s # Return code: 0 764s # Output: 764s # /tmp/tmpuiob8hcm/folder/desktop.entry 764s # Error: 764s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 764s # gio: /usr/bin/gio 764s # tmpdir: /tmp/tmpo1kn5ge3 764s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpo1kn5ge3/folder/desktop.entry'] 764s # Working Directory: /tmp/tmpo1kn5ge3 764s # Return code: 0 764s # Output: 764s # /tmp/tmpo1kn5ge3/folder/desktop.entry 764s # Error: 765s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmpovti4xc2 765s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpovti4xc2/folder/desktop.entry'] 765s # Working Directory: /tmp/tmpovti4xc2/sibling 765s # Return code: 0 765s # Output: 765s # /tmp/tmpovti4xc2/folder/desktop.entry 765s # Error: 765s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmp3cnr87vw 765s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 765s # Working Directory: /tmp/tmp3cnr87vw/folder 765s # Return code: 0 765s # Output: 765s # /tmp/tmp3cnr87vw/folder/desktop.entry 765s # Error: 765s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmpalbltqb0 765s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 765s # Working Directory: /tmp/tmpalbltqb0 765s # Return code: 0 765s # Output: 765s # /tmp/tmpalbltqb0/folder/desktop.entry 765s # Error: 765s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmpe5v7dbwx 765s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 765s # Working Directory: /tmp/tmpe5v7dbwx/sibling 765s # Return code: 0 765s # Output: 765s # /tmp/tmpe5v7dbwx/folder/desktop.entry 765s # Error: 765s ok 7 __main__.TestGioTool.test_help 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmpgwaqi4r_ 765s # Running: ['/usr/bin/gio', '--help'] 765s # Return code: 0 765s # Output: 765s # Usage: 765s # gio COMMAND [ARGS…] 765s # 765s # Commands: 765s # help Print help 765s # version Print version 765s # cat Concatenate files to standard output 765s # copy Copy one or more files 765s # info Show information about locations 765s # launch Launch an application from a desktop file 765s # list List the contents of locations 765s # mime Get or set the handler for a mimetype 765s # mkdir Create directories 765s # monitor Monitor files and directories for changes 765s # mount Mount or unmount the locations 765s # move Move one or more files 765s # open Open files with the default application 765s # rename Rename a file 765s # remove Delete one or more files 765s # save Read from standard input and save 765s # set Set a file attribute 765s # trash Move files or directories to the trash 765s # tree Lists the contents of locations in a tree 765s # 765s # Use “gio help COMMAND” to get detailed help. 765s # Error: 765s # 765s # Running: ['/usr/bin/gio', 'help'] 765s # Return code: 0 765s # Output: 765s # Usage: 765s # gio COMMAND [ARGS…] 765s # 765s # Commands: 765s # help Print help 765s # version Print version 765s # cat Concatenate files to standard output 765s # copy Copy one or more files 765s # info Show information about locations 765s # launch Launch an application from a desktop file 765s # list List the contents of locations 765s # mime Get or set the handler for a mimetype 765s # mkdir Create directories 765s # monitor Monitor files and directories for changes 765s # mount Mount or unmount the locations 765s # move Move one or more files 765s # open Open files with the default application 765s # rename Rename a file 765s # remove Delete one or more files 765s # save Read from standard input and save 765s # set Set a file attribute 765s # trash Move files or directories to the trash 765s # tree Lists the contents of locations in a tree 765s # 765s # Use “gio help COMMAND” to get detailed help. 765s # Error: 765s ok 8 __main__.TestGioTool.test_info_non_default_attributes 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmppjqf42bm 765s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmppjqf42bm/tmpy0mteb7x'] 765s # Return code: 0 765s # Output: 765s # uri: file:///tmp/tmppjqf42bm/tmpy0mteb7x 765s # local path: /tmp/tmppjqf42bm/tmpy0mteb7x 765s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 765s # attributes: 765s # standard::content-type: application/x-zerosize 765s # Error: 765s ok 9 __main__.TestGioTool.test_no_args 765s # gio: /usr/bin/gio 765s # tmpdir: /tmp/tmp10wxxuyn 765s # Running: ['/usr/bin/gio'] 765s # Return code: 1 765s # Output: 765s # 765s # Error: 765s # Usage: 765s # gio COMMAND [ARGS…] 765s # 765s # Commands: 765s # help Print help 765s # version Print version 765s # cat Concatenate files to standard output 765s # copy Copy one or more files 765s # info Show information about locations 765s # launch Launch an application from a desktop file 765s # list List the contents of locations 765s # mime Get or set the handler for a mimetype 765s # mkdir Create directories 765s # monitor Monitor files and directories for changes 765s # mount Mount or unmount the locations 765s # move Move one or more files 765s # open Open files with the default application 765s # rename Rename a file 765s # remove Delete one or more files 765s # save Read from standard input and save 765s # set Set a file attribute 765s # trash Move files or directories to the trash 765s # tree Lists the contents of locations in a tree 765s # 765s # Use “gio help COMMAND” to get detailed help. 765s 1..9 765s ok - glib/gio-tool.py.test 765s # Running test: glib/genmarshal.py.test 765s TAP version 13 765s ok 1 __main__.TestGenmarshal.test_empty_list 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmpyre54607 765s # /tmp/tmpyre54607/tmpkxgcdfq2.list: 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyre54607/tmpkxgcdfq2.list', '--header', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # #include 765s # 765s # G_BEGIN_DECLS 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyre54607/tmpkxgcdfq2.list', '--body', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #include 765s # 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # Error: 765s ok 2 __main__.TestGenmarshal.test_help 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmp0s68jtc4 765s # Running: ['/usr/bin/glib-genmarshal', '--help'] 765s # Return code: 0 765s # Output: 765s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 765s # [--internal] [--valist-marshallers] [-v] 765s # [--g-fatal-warnings] [--include-header [HEADER]] 765s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 765s # [--prototypes] [--header] [--body] [--stdinc | 765s # --nostdinc] [--quiet | --verbose] 765s # [FILE ...] 765s # 765s # Generate signal marshallers for GObject 765s # 765s # positional arguments: 765s # FILE Files with lists of marshallers to generate, or "-" 765s # for standard input 765s # 765s # options: 765s # -h, --help show this help message and exit 765s # --prefix STRING Specify marshaller prefix 765s # --output FILE Write output into the specified file 765s # --skip-source Skip source location comments 765s # --internal Mark generated functions as internal 765s # --valist-marshallers Generate va_list marshallers 765s # -v, --version Print version information, and exit 765s # --g-fatal-warnings Make warnings fatal 765s # --include-header [HEADER] 765s # Include the specified header in the body 765s # --pragma-once Use "pragma once" as the inclusion guard 765s # -D CPP_DEFINES Pre-processor define 765s # -U CPP_UNDEFINES Pre-processor undefine 765s # --prototypes Generate the marshallers prototype in the C code 765s # --header Generate C headers 765s # --body Generate C code 765s # --stdinc Include standard marshallers 765s # --nostdinc Use standard marshallers 765s # --quiet Only print warnings and errors 765s # --verbose Be verbose, and include debugging information 765s # Error: 765s ok 3 __main__.TestGenmarshal.test_no_args 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmpcqa8xgue 765s # Running: ['/usr/bin/glib-genmarshal'] 765s # Return code: 0 765s # Output: 765s # 765s # Error: 765s ok 4 __main__.TestGenmarshal.test_void_boolean 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmpwhxv1wed 765s # /tmp/tmpwhxv1wed/tmph9b4gb9c.list: VOID:BOOLEAN 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwhxv1wed/tmph9b4gb9c.list', '--header', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # #include 765s # 765s # G_BEGIN_DECLS 765s # 765s # /* VOID:BOOLEAN (/tmp/tmpwhxv1wed/tmph9b4gb9c.list:1) */ 765s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwhxv1wed/tmph9b4gb9c.list', '--body', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #include 765s # 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # Error: 765s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmp597uajw9 765s # /tmp/tmp597uajw9/tmpwqeessux.list: VOID:BOOLEAN,INT64 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp597uajw9/tmpwqeessux.list', '--header', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # #include 765s # 765s # G_BEGIN_DECLS 765s # 765s # /* VOID:BOOLEAN,INT64 (/tmp/tmp597uajw9/tmpwqeessux.list:1) */ 765s # extern 765s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 765s # GValue *return_value, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint, 765s # gpointer marshal_data); 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp597uajw9/tmpwqeessux.list', '--body', '--quiet'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #include 765s # 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # 765s # /* VOID:BOOLEAN,INT64 (/tmp/tmp597uajw9/tmpwqeessux.list:1) */ 765s # void 765s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint G_GNUC_UNUSED, 765s # gpointer marshal_data) 765s # { 765s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 765s # gboolean arg1, 765s # gint64 arg2, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 765s # 765s # g_return_if_fail (n_param_values == 3); 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = g_value_peek_pointer (param_values + 0); 765s # } 765s # else 765s # { 765s # data1 = g_value_peek_pointer (param_values + 0); 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # g_marshal_value_peek_boolean (param_values + 1), 765s # g_marshal_value_peek_int64 (param_values + 2), 765s # data2); 765s # } 765s # Error: 765s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmpc9jie0sa 765s # /tmp/tmpc9jie0sa/tmpvkxghnyb.list: VOID:PARAM 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpc9jie0sa/tmpvkxghnyb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # G_BEGIN_DECLS 765s # 765s # /* VOID:PARAM (/tmp/tmpc9jie0sa/tmpvkxghnyb.list:1) */ 765s # extern 765s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 765s # GValue *return_value, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint, 765s # gpointer marshal_data); 765s # extern 765s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 765s # GValue *return_value, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types); 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpc9jie0sa/tmpvkxghnyb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # 765s # /* VOID:PARAM (/tmp/tmpc9jie0sa/tmpvkxghnyb.list:1) */ 765s # void 765s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint G_GNUC_UNUSED, 765s # gpointer marshal_data) 765s # { 765s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__PARAM callback; 765s # 765s # g_return_if_fail (n_param_values == 2); 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = g_value_peek_pointer (param_values + 0); 765s # } 765s # else 765s # { 765s # data1 = g_value_peek_pointer (param_values + 0); 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # g_marshal_value_peek_param (param_values + 1), 765s # data2); 765s # } 765s # 765s # void 765s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types) 765s # { 765s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__PARAM callback; 765s # gpointer arg0; 765s # va_list args_copy; 765s # 765s # va_copy (args_copy, args); 765s # arg0 = (gpointer) va_arg (args_copy, gpointer); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # arg0 = g_param_spec_ref (arg0); 765s # va_end (args_copy); 765s # 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = instance; 765s # } 765s # else 765s # { 765s # data1 = instance; 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # arg0, 765s # data2); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # g_param_spec_unref (arg0); 765s # } 765s # Error: 765s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmp3fm8_gbq 765s # /tmp/tmp3fm8_gbq/tmpzu54w555.list: VOID:STRING 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3fm8_gbq/tmpzu54w555.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # G_BEGIN_DECLS 765s # 765s # /* VOID:STRING (/tmp/tmp3fm8_gbq/tmpzu54w555.list:1) */ 765s # extern 765s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 765s # GValue *return_value, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint, 765s # gpointer marshal_data); 765s # extern 765s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 765s # GValue *return_value, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types); 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3fm8_gbq/tmpzu54w555.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # 765s # /* VOID:STRING (/tmp/tmp3fm8_gbq/tmpzu54w555.list:1) */ 765s # void 765s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint G_GNUC_UNUSED, 765s # gpointer marshal_data) 765s # { 765s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__STRING callback; 765s # 765s # g_return_if_fail (n_param_values == 2); 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = g_value_peek_pointer (param_values + 0); 765s # } 765s # else 765s # { 765s # data1 = g_value_peek_pointer (param_values + 0); 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # g_marshal_value_peek_string (param_values + 1), 765s # data2); 765s # } 765s # 765s # void 765s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types) 765s # { 765s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__STRING callback; 765s # gpointer arg0; 765s # va_list args_copy; 765s # 765s # va_copy (args_copy, args); 765s # arg0 = (gpointer) va_arg (args_copy, gpointer); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # arg0 = g_strdup (arg0); 765s # va_end (args_copy); 765s # 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = instance; 765s # } 765s # else 765s # { 765s # data1 = instance; 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # arg0, 765s # data2); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # g_free (arg0); 765s # } 765s # Error: 765s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 765s # glib-genmarshal: /usr/bin/glib-genmarshal 765s # tmpdir: /tmp/tmpew4l59rc 765s # /tmp/tmpew4l59rc/tmpmad_a7mv.list: VOID:VARIANT 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpew4l59rc/tmpmad_a7mv.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 765s # 765s # G_BEGIN_DECLS 765s # 765s # /* VOID:VARIANT (/tmp/tmpew4l59rc/tmpmad_a7mv.list:1) */ 765s # extern 765s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 765s # GValue *return_value, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint, 765s # gpointer marshal_data); 765s # extern 765s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 765s # GValue *return_value, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types); 765s # 765s # 765s # G_END_DECLS 765s # 765s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 765s # Error: 765s # 765s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpew4l59rc/tmpmad_a7mv.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 765s # Return code: 0 765s # Output: 765s # /* 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. */ 765s # #ifdef G_ENABLE_DEBUG 765s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 765s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 765s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 765s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 765s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 765s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 765s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 765s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 765s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 765s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 765s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 765s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 765s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 765s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 765s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 765s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 765s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 765s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 765s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 765s # #else /* !G_ENABLE_DEBUG */ 765s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 765s # * Do not access GValues directly in your code. Instead, use the 765s # * g_value_get_*() functions 765s # */ 765s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 765s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 765s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 765s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 765s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 765s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 765s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 765s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 765s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 765s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 765s # #endif /* !G_ENABLE_DEBUG */ 765s # 765s # /* VOID:VARIANT (/tmp/tmpew4l59rc/tmpmad_a7mv.list:1) */ 765s # void 765s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # guint n_param_values, 765s # const GValue *param_values, 765s # gpointer invocation_hint G_GNUC_UNUSED, 765s # gpointer marshal_data) 765s # { 765s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__VARIANT callback; 765s # 765s # g_return_if_fail (n_param_values == 2); 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = g_value_peek_pointer (param_values + 0); 765s # } 765s # else 765s # { 765s # data1 = g_value_peek_pointer (param_values + 0); 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # g_marshal_value_peek_variant (param_values + 1), 765s # data2); 765s # } 765s # 765s # void 765s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 765s # GValue *return_value G_GNUC_UNUSED, 765s # gpointer instance, 765s # va_list args, 765s # gpointer marshal_data, 765s # int n_params, 765s # GType *param_types) 765s # { 765s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 765s # gpointer arg1, 765s # gpointer data2); 765s # GCClosure *cc = (GCClosure *) closure; 765s # gpointer data1, data2; 765s # GMarshalFunc_VOID__VARIANT callback; 765s # gpointer arg0; 765s # va_list args_copy; 765s # 765s # va_copy (args_copy, args); 765s # arg0 = (gpointer) va_arg (args_copy, gpointer); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # arg0 = g_variant_ref_sink (arg0); 765s # va_end (args_copy); 765s # 765s # 765s # if (G_CCLOSURE_SWAP_DATA (closure)) 765s # { 765s # data1 = closure->data; 765s # data2 = instance; 765s # } 765s # else 765s # { 765s # data1 = instance; 765s # data2 = closure->data; 765s # } 765s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 765s # 765s # callback (data1, 765s # arg0, 765s # data2); 765s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 765s # g_variant_unref (arg0); 765s # } 765s # Error: 765s 1..8 765s ok - glib/genmarshal.py.test 765s # Running test: glib/pattern.test 765s TAP version 14 765s ok - glib/pattern.test 765s # random seed: R02Sc62e05db396c137b6021b9b4c34f2565 765s 1..90 765s # Start of pattern tests 765s # Start of compile tests 765s ok 1 /pattern/compile/0 765s ok 2 /pattern/compile/1 765s ok 3 /pattern/compile/2 765s ok 4 /pattern/compile/3 765s ok 5 /pattern/compile/4 765s ok 6 /pattern/compile/5 765s ok 7 /pattern/compile/6 765s ok 8 /pattern/compile/7 765s ok 9 /pattern/compile/8 765s ok 10 /pattern/compile/9 765s ok 11 /pattern/compile/10 765s ok 12 /pattern/compile/11 765s ok 13 /pattern/compile/12 765s ok 14 /pattern/compile/13 765s # End of compile tests 765s # Start of copy tests 765s ok 15 /pattern/copy/0 765s ok 16 /pattern/copy/1 765s ok 17 /pattern/copy/2 765s ok 18 /pattern/copy/3 765s ok 19 /pattern/copy/4 765s ok 20 /pattern/copy/5 765s ok 21 /pattern/copy/6 765s ok 22 /pattern/copy/7 765s ok 23 /pattern/copy/8 765s ok 24 /pattern/copy/9 765s ok 25 /pattern/copy/10 765s ok 26 /pattern/copy/11 765s ok 27 /pattern/copy/12 765s ok 28 /pattern/copy/13 765s # End of copy tests 765s # Start of match tests 765s ok 29 /pattern/match/0 765s ok 30 /pattern/match/1 765s ok 31 /pattern/match/2 765s ok 32 /pattern/match/3 765s ok 33 /pattern/match/4 765s ok 34 /pattern/match/5 765s ok 35 /pattern/match/6 765s ok 36 /pattern/match/7 765s ok 37 /pattern/match/8 765s ok 38 /pattern/match/9 765s ok 39 /pattern/match/10 765s ok 40 /pattern/match/11 765s ok 41 /pattern/match/12 765s ok 42 /pattern/match/13 765s ok 43 /pattern/match/14 765s ok 44 /pattern/match/15 765s ok 45 /pattern/match/16 765s ok 46 /pattern/match/17 765s ok 47 /pattern/match/18 765s ok 48 /pattern/match/19 765s ok 49 /pattern/match/20 765s ok 50 /pattern/match/21 765s ok 51 /pattern/match/22 765s ok 52 /pattern/match/23 765s ok 53 /pattern/match/24 765s ok 54 /pattern/match/25 765s ok 55 /pattern/match/26 765s ok 56 /pattern/match/27 765s ok 57 /pattern/match/28 765s ok 58 /pattern/match/29 765s ok 59 /pattern/match/30 765s ok 60 /pattern/match/31 765s ok 61 /pattern/match/32 765s ok 62 /pattern/match/33 765s ok 63 /pattern/match/34 765s ok 64 /pattern/match/35 765s ok 65 /pattern/match/36 765s ok 66 /pattern/match/37 765s ok 67 /pattern/match/38 765s ok 68 /pattern/match/39 765s ok 69 /pattern/match/40 765s ok 70 /pattern/match/41 765s ok 71 /pattern/match/42 765s ok 72 /pattern/match/43 765s ok 73 /pattern/match/44 765s ok 74 /pattern/match/45 765s ok 75 /pattern/match/46 765s ok 76 /pattern/match/47 765s ok 77 /pattern/match/48 765s ok 78 /pattern/match/49 765s ok 79 /pattern/match/50 765s # End of match tests 765s # Start of equal tests 765s ok 80 /pattern/equal/0 765s ok 81 /pattern/equal/1 765s ok 82 /pattern/equal/2 765s ok 83 /pattern/equal/3 765s ok 84 /pattern/equal/4 765s ok 85 /pattern/equal/5 765s ok 86 /pattern/equal/6 765s ok 87 /pattern/equal/7 765s ok 88 /pattern/equal/8 765s ok 89 /pattern/equal/9 765s ok 90 /pattern/equal/10 765s # End of equal tests 765s # End of pattern tests 765s # Running test: glib/unicode-normalize.test 765s TAP version 14 765s # random seed: R02S1197fc5829d20b2b07609461766ae681 765s 1..3 765s # Start of unicode tests 765s # Processing Part0 # Specific cases 765s # Processing Part1 # Character by character test 765s # Processing Part2 # Canonical Order Test 765s # Processing Part3 # PRI #29 Test 765s # Processing Part4 # Canonical closures (excluding Hangul) 765s # Processing Part5 # Chained primary composites 765s ok 1 /unicode/normalize 765s # Invalid UTF-8 vector 0 765s # Invalid UTF-8 vector 1 765s # Invalid UTF-8 vector 2 765s # Invalid UTF-8 vector 3 765s ok - glib/unicode-normalize.test 765s # Running test: glib/sleepy-stream.test 765s # Invalid UTF-8 vector 4 765s # Invalid UTF-8 vector 5 765s # Invalid UTF-8 vector 6 765s # Invalid UTF-8 vector 7 765s # Invalid UTF-8 vector 8 765s # Invalid UTF-8 vector 9 765s # Invalid UTF-8 vector 10 765s # Invalid UTF-8 vector 11 765s # Invalid UTF-8 vector 12 765s ok 2 /unicode/normalize-invalid 765s # Start of normalize tests 765s ok 3 /unicode/normalize/bad-length 765s # End of normalize tests 765s # End of unicode tests 765s TAP version 14 765s # random seed: R02Sd5fb95c1516770dc475d5aac8ddc761d 765s 1..2 765s # Start of filter-stream tests 765s ok 1 /filter-stream/input 765s ok 2 /filter-stream/async 765s # End of filter-stream tests 765s ok - glib/sleepy-stream.test 765s # Running test: glib/shell.test 765s TAP version 14 765s # random seed: R02S41a4cd3299f2d27740c41ec1a7da26a8 765s 1..52 765s # Start of shell tests 765s # Start of cmdline tests 765s test cmdline: foo bar 765s ok 1 /shell/cmdline/0 765s ok - glib/shell.test 765s test cmdline: foo 'bar' 765s ok 2 /shell/cmdline/1 765s test cmdline: foo "bar" 765s ok 3 /shell/cmdline/2 765s test cmdline: foo '' 'bar' 765s ok 4 /shell/cmdline/3 765s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 765s ok 5 /shell/cmdline/4 765s test cmdline: foo blah foo bar baz 765s ok 6 /shell/cmdline/5 765s test cmdline: foo ' spaces more spaces lots of spaces in this ' 765s ok 7 /shell/cmdline/6 765s test cmdline: foo \ 765s bar 765s ok 8 /shell/cmdline/7 765s test cmdline: foo '' '' 765s ok 9 /shell/cmdline/8 765s test cmdline: foo \" la la la 765s ok 10 /shell/cmdline/9 765s test cmdline: foo \ foo woo woo\ 765s ok 11 /shell/cmdline/10 765s test cmdline: foo "yada yada \$\"" 765s ok 12 /shell/cmdline/11 765s test cmdline: foo "c:\\" 765s ok 13 /shell/cmdline/12 765s test cmdline: foo # bla bla bla 765s bar 765s ok 14 /shell/cmdline/13 765s test cmdline: foo a#b 765s ok 15 /shell/cmdline/14 765s test cmdline: #foo 765s ok 16 /shell/cmdline/15 765s test cmdline: foo bar \ 765s ok 17 /shell/cmdline/16 765s test cmdline: foo 'bar baz 765s ok 18 /shell/cmdline/17 765s test cmdline: foo '"bar" baz 765s ok 19 /shell/cmdline/18 765s test cmdline: 765s ok 20 /shell/cmdline/19 765s test cmdline: 765s ok 21 /shell/cmdline/20 765s test cmdline: # foo bar 765s ok 22 /shell/cmdline/21 765s test cmdline: # 765s ok 23 /shell/cmdline/22 765s test cmdline: foo '/bar/summer'\''09 tours.pdf' 765s ok 24 /shell/cmdline/23 765s # End of cmdline tests 765s # Start of quote tests 765s ok 25 /shell/quote/0 765s ok 26 /shell/quote/1 765s ok 27 /shell/quote/2 765s ok 28 /shell/quote/3 765s ok 29 /shell/quote/4 765s ok 30 /shell/quote/5 765s ok 31 /shell/quote/6 765s # End of quote tests 765s # Start of unquote tests 765s ok 32 /shell/unquote/0 765s ok 33 /shell/unquote/1 765s ok 34 /shell/unquote/2 765s ok 35 /shell/unquote/3 765s ok 36 /shell/unquote/4 765s ok 37 /shell/unquote/5 765s ok 38 /shell/unquote/6 765s ok 39 /shell/unquote/7 765s ok 40 /shell/unquote/8 765s ok 41 /shell/unquote/9 765s ok 42 /shell/unquote/10 765s ok 43 /shell/unquote/11 765s ok 44 /shell/unquote/12 765s ok 45 /shell/unquote/13 765s ok 46 /shell/unquote/14 765s ok 47 /shell/unquote/15 765s ok 48 /shell/unquote/16 765s ok 49 /shell/unquote/17 765s ok 50 /shell/unquote/18 765s ok 51 /shell/unquote/19 765s ok 52 /shell/unquote/20 765s # End of unquote tests 765s # End of shell tests 765s # Running test: glib/gobject-private.test 765s TAP version 14 765s # random seed: R02S0010227b7162a9e16f475ae25a6e896a 765s 1..3 765s # Start of private tests 765s ok 1 /private/instance 765s ok 2 /private/derived-instance 765s ok 3 /private/mixed-derived-instance 765s # End of private tests 765s ok - glib/gobject-private.test 765s # Running test: glib/mem-overflow.test 765s TAP version 14 765s # random seed: R02Sd512415e16f2cc554c932dae94a766ea 765s 1..2 765s # Start of mem tests 765s ok - glib/mem-overflow.test 765s # Running test: glib/proxy-test.test 765s ok 1 /mem/overflow 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 765s ok 2 /mem/empty-alloc 765s # Start of overflow tests 765s # Start of subprocess tests 765s # End of subprocess tests 765s # End of overflow tests 765s # Start of empty-alloc tests 765s # End of empty-alloc tests 765s # End of mem tests 765s TAP version 14 765s # random seed: R02Sbebd155826fd83e5a3f7eaa4ad0bf3d7 765s 1..11 765s # Start of proxy tests 765s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 765s ok 1 /proxy/direct_sync 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280faf20 and GSocketClientAsyncConnectData 0x2aa280fa440 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fba40 for GSocketClientAsyncConnectData 0x2aa280fa440 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s ok 2 /proxy/direct_async 765s ok 3 /proxy/single_sync 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb500 and GSocketClientAsyncConnectData 0x2aa280fa440 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fcba0 for GSocketClientAsyncConnectData 0x2aa280fa440 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s ok 4 /proxy/single_async 765s ok 5 /proxy/multiple_sync 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb7f0 and GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fd0e0 for GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fd080 for GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s ok 6 /proxy/multiple_async 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 765s ok 7 /proxy/invalid-uris-sync 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb3e0 and GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb500 and GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb3e0 and GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fbaa0 for GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb500 and GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fd2e0 for GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s ok 8 /proxy/invalid-uris-async 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280faf20 and GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 765s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fd400 and GSocketClientAsyncConnectData 0x2aa280fb990 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fca00 for GSocketClientAsyncConnectData 0x2aa280fb990 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb3e0 and GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fbaa0 for GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s ok - glib/proxy-test.test 765s # Running test: glib/macros-c-17.test 765s ok - glib/macros-c-17.test 765s # Running test: glib/debugcontroller.test 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s ok 9 /proxy/dns 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280faf20 and GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fbaa0 for GSocketClientAsyncConnectData 0x2aa280fb780 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280fb3e0 and GSocketClientAsyncConnectData 0x2aa280fb5c0 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fca00 for GSocketClientAsyncConnectData 0x2aa280fb5c0 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 765s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa280faf20 and GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa280fd0e0 for GSocketClientAsyncConnectData 0x2aa280fd270 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 765s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 765s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 765s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 765s ok 10 /proxy/override 765s ok 11 /proxy/enumerator-ports 765s # End of proxy tests 765s TAP version 14 765s # random seed: R02S5b9ff02734cb244d0dac364f06fc4f33 765s 1..4 765s # Start of C tests 765s ok 1 /C/standard-17 765s # End of C tests 765s # Start of alignof tests 765s ok 2 /alignof/fallback 765s # End of alignof tests 765s # Start of assert tests 765s ok 3 /assert/static 765s # End of assert tests 765s # Start of struct tests 765s ok 4 /struct/sizeof_member 765s # End of struct tests 765s ok - glib/debugcontroller.test 765s # Running test: glib/async-splice-output-stream.test 765s ok - glib/async-splice-output-stream.test 765s # Running test: glib/portal-support-snap-classic.test 765s ok - glib/portal-support-snap-classic.test 765s # Running test: glib/gdbus-proxy-threads.test 765s TAP version 14 765s # random seed: R02S1045b476a1523397aa57c17e75e3dfda 765s 1..3 765s # Start of debug-controller tests 765s # Start of dbus tests 765s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 765s # GLib-GIO-DEBUG: Debug output enabled 765s # GLib-GIO-DEBUG: Debug output disabled 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 1 /debug-controller/dbus/basic 765s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 2 /debug-controller/dbus/duplicate 765s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 765s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 765s # End of dbus tests 765s # End of debug-controller tests 765s TAP version 14 765s # random seed: R02S4ac64d5f3e0892e910216c7036fd361d 765s 1..5 765s # Start of async-splice tests 765s ok 1 /async-splice/copy-chunks 765s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 765s ok 2 /async-splice/copy-chunks-threaded-input 765s ok 3 /async-splice/copy-chunks-threaded-output 765s ok 4 /async-splice/copy-chunks-threaded 765s ok 5 /async-splice/cancelled 765s # End of async-splice tests 765s TAP version 14 765s # random seed: R02Sbe8d4411202db13e58643575ac35d65c 765s 1..3 765s # Start of portal-support tests 765s # Start of snap-classic tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl/.dirs/runtime 765s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/no-snapctl: No such file or directory 765s ok 1 /portal-support/snap-classic/no-snapctl 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/runtime 765s # Created snap.yaml in /tmp/test_portal-support-snap-classic_R5VUE3/meta/snap.yaml 765s # Created snapctl in /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none/.dirs/runtime/snapctl 765s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/none: No such file or directory 765s ok 2 /portal-support/snap-classic/none 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/runtime 765s # Created snap.yaml in /tmp/test_portal-support-snap-classic_R5VUE3/meta/snap.yaml 765s # Created snapctl in /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all/.dirs/runtime/snapctl 765s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R5VUE3/portal-support/snap-classic/all: No such file or directory 765s ok 3 /portal-support/snap-classic/all 765s # End of snap-classic tests 765s # End of portal-support tests 765s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R5VUE3: No such file or directory 765s TAP version 14 765s # random seed: R02S74f17326f1ad70771cc44cd32fa3747b 765s 1..1 765s # Start of gdbus tests 765s # Start of proxy tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_6H6UE3/gdbus/proxy/vs-threads/.dirs/runtime 766s ok - glib/gdbus-proxy-threads.test 766s # Running test: glib/portal-support-flatpak-gsettings-only.test 766s ok 1 /gdbus/proxy/vs-threads 766s # End of proxy tests 766s # End of gdbus tests 766s cleaning up pid 39281 766s TAP version 14 766s # random seed: R02S0f52f3e80c27a027671c177e84358965 766s 1..1 766s # Start of portal-support tests 766s # Start of flatpak tests 766s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/home 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/cache 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/system-config2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/config 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/system-data2 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/data 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/state 766s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/runtime 766s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_9RQME3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 766s ok 1 /portal-support/flatpak/gsettings 766s # End of flatpak tests 766s # End of portal-support tests 766s ok - glib/portal-support-flatpak-gsettings-only.test 766s # Running test: glib/spawn-multithreaded.test 766s TAP version 14 766s # random seed: R02S4ccdf6b8b87219cae2cdab93fd0a0ad3 766s 1..4 766s # Start of gthread tests 766s # Executing: glib/spawn-multithreaded.test 767s # Child 39293 (ttl 1) exited, status 0 768s # Child 39294 (ttl 2) exited, status 0 768s ok 1 /gthread/spawn-childs 768s # slow test /gthread/spawn-childs executed in 2.00 secs 768s # Created pid: 39298 (ttl 2) 768s # Created pid: 39299 (ttl 1) 769s # Child 39299 (ttl 1) exited, status 0 770s # Child 39298 (ttl 2) exited, status 0 770s ok 2 /gthread/spawn-childs-threads 770s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 770s ok 3 /gthread/spawn-sync 770s ok 4 /gthread/spawn-async 770s # End of gthread tests 770s ok - glib/spawn-multithreaded.test 770s # Running test: glib/option-argv0.test 770s ok - glib/option-argv0.test 770s # Running test: glib/scannerapi.test 770s TAP version 14 770s # random seed: R02Sa9fec9a5a2dd79bd93ec1c4408d06a05 770s 1..1 770s # Start of option tests 770s ok 1 /option/argv0 770s # End of option tests 770s ok - glib/scannerapi.test 770s # Running test: glib/sort.test 770s ok - glib/sort.test 770s # Running test: glib/utils-c-99.test 770s ok - glib/utils-c-99.test 770s # Running test: glib/unicode.test 770s TAP version 14 770s # random seed: R02S0db994a9e60c34caa27940afe7fe8319 770s 1..8 770s # Start of scanner tests 770s ok 1 /scanner/warn 770s ok 2 /scanner/error 770s ok 3 /scanner/symbols 770s ok 4 /scanner/tokens 770s ok 5 /scanner/multiline-comment 770s ok 6 /scanner/int-to-float 770s ok 7 /scanner/fd-input 770s # Start of fd-input tests 770s ok 8 /scanner/fd-input/rewind 770s # End of fd-input tests 770s # End of scanner tests 770s TAP version 14 770s # random seed: R02Sdc29b9c9cdfb91dfabd4317e535c3243 770s 1..5 770s # Start of sort tests 770s ok 1 /sort/basic 770s ok 2 /sort/zero-elements 770s ok 3 /sort/stable 770s ok 4 /sort/big 770s ok 5 /sort/deprecated 770s # End of sort tests 770s TAP version 14 770s # random seed: R02Sac2d19c04c5cbcd73a268d809380d8f0 770s 1..41 770s # Start of utils tests 770s ok 1 /utils/language-names 770s # Testing locale ‘en’ 770s # Testing locale ‘sr@latin’ 770s # Testing locale ‘fr_BE’ 770s # Testing locale ‘sr_SR@latin’ 770s # Testing locale ‘sr_SR@latin.UTF-8’ 770s # Testing locale ‘sr@latin_invalid’ 770s # Testing locale ‘sr.UTF-8@latin’ 770s # Testing locale ‘sr.UTF-8_latin’ 770s # Testing locale ‘sr.UTF-8@latin_invalid’ 770s ok 2 /utils/locale-variants 770s ok 3 /utils/version 770s ok 4 /utils/appname 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 770s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 770s ok 5 /utils/prgname-thread-safety 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 770s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 770s ok 6 /utils/tmpdir 770s ok 7 /utils/basic_bits 770s ok 8 /utils/bits 770s ok 9 /utils/swap 770s ok 10 /utils/find-program 770s ok 11 /utils/find-program-for-path 770s ok 12 /utils/debug 770s ok 13 /utils/codeset 770s ok 14 /utils/codeset2 770s ok 15 /utils/console-charset 770s ok 16 /utils/gettext 770s ok 17 /utils/username 770s ok 18 /utils/realname 770s ok 19 /utils/hostname 770s ok 20 /utils/xdgdirs 770s ok 21 /utils/specialdir 770s # NAME: Ubuntu 770s ok 22 /utils/os-info 770s ok 23 /utils/clear-pointer 770s ok 24 /utils/clear-pointer-cast 770s ok 25 /utils/take-pointer 770s ok 26 /utils/clear-source 770s ok 27 /utils/misc-mem 770s # /utils/aligned-mem summary: Aligned memory allocator 770s # Alignment must not be zero 770s # Alignment must be a power of two 770s # Alignment must be a multiple of sizeof(void*) 770s ok 28 /utils/aligned-mem 770s # /utils/free-sized summary: Check that g_free_sized() works 770s ok 29 /utils/free-sized 770s ok 30 /utils/nullify 770s ok 31 /utils/atexit 770s ok 32 /utils/check-setuid 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 770s ok 33 /utils/int-limits 770s ok 34 /utils/clear-list 770s ok 35 /utils/clear-slist 770s ok 36 /utils/steal-handle-id 770s # Start of specialdir tests 770s ok 37 /utils/specialdir/desktop 770s # End of specialdir tests 770s # Start of clear-pointer tests 770s ok 38 /utils/clear-pointer/side-effects 770s # End of clear-pointer tests 770s # Start of aligned-mem tests 770s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 770s ok 39 /utils/aligned-mem/alignment 770s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 770s ok 40 /utils/aligned-mem/zeroed 770s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 770s ok 41 /utils/aligned-mem/free-sized 770s # Start of subprocess tests 770s # End of subprocess tests 770s # End of aligned-mem tests 770s # End of utils tests 770s TAP version 14 770s # random seed: R02S5e503404efdaaceb126f89d37be51e1e 770s 1..39 770s # Start of unicode tests 770s ok 1 /unicode/alnum 770s ok 2 /unicode/alpha 770s ok 3 /unicode/break-type 770s ok 4 /unicode/canonical-decomposition 770s ok 5 /unicode/casefold 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s # Cannot set locale to lt_LT, skipping 770s ok 6 /unicode/casemap_and_casefold 770s ok 7 /unicode/cases 770s ok 8 /unicode/character-type 770s ok 9 /unicode/cntrl 770s ok 10 /unicode/combining-class 770s # Composing U+000041 and U+000042; expecting U+000000 770s # Composing U+000041 and U+000000; expecting U+000000 770s # Composing U+000066 and U+000069; expecting U+000000 770s # Composing U+000308 and U+000301; expecting U+000000 770s # Composing U+000f71 and U+000f72; expecting U+000000 770s # Composing U+00212b and U+000000; expecting U+000000 770s # Composing U+0000c5 and U+000000; expecting U+000000 770s # Composing U+002126 and U+000000; expecting U+000000 770s # Composing U+0003a9 and U+000000; expecting U+000000 770s # Composing U+000041 and U+00030a; expecting U+0000c5 770s # Composing U+00006f and U+000302; expecting U+0000f4 770s # Composing U+001e63 and U+000307; expecting U+001e69 770s # Composing U+000073 and U+000323; expecting U+001e63 770s # Composing U+000064 and U+000307; expecting U+001e0b 770s # Composing U+000064 and U+000323; expecting U+001e0d 770s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 770s # Composing U+001111 and U+001171; expecting U+00d4cc 770s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 770s # Composing U+00110e and U+001173; expecting U+00ce20 770s # Composing U+001100 and U+001160; expecting U+000000 770s # Composing U+001100 and U+001177; expecting U+000000 770s # Composing U+00abff and U+0011b6; expecting U+000000 770s # Composing U+00d7a5 and U+0011b6; expecting U+000000 770s # Composing U+00ac01 and U+0011b6; expecting U+000000 770s # Composing U+00d4cc and U+0011a6; expecting U+000000 770s # Composing U+00d4cc and U+0011c4; expecting U+000000 770s # Composing U+01611e and U+01611e; expecting U+016121 770s # Composing U+01611e and U+01611f; expecting U+016123 770s # Composing U+0000f6 and U+000304; expecting U+00022b 770s # Composing U+000b47 and U+000b57; expecting U+000b4c 770s # Composing U+0000a0 and U+000b57; expecting U+000000 770s # Composing U+016e00 and U+00030a; expecting U+000000 770s # Composing U+00212b and U+016e00; expecting U+000000 770s # Composing U+001e63 and U+000306; expecting U+000000 770s # Composing U+001e63 and U+000304; expecting U+000000 770s # Composing U+001e63 and U+000b57; expecting U+000000 770s # Composing U+001e63 and U+000000; expecting U+000000 770s # Composing U+001e63 and U+0113c2; expecting U+000000 770s # Composing U+001f01 and U+0113c2; expecting U+000000 770s # Composing U+00006e and U+000302; expecting U+000000 770s # Composing U+001e63 and U+01611f; expecting U+000000 770s # Composing U+01138e and U+0113b8; expecting U+000000 770s # Composing U+01611e and U+000000; expecting U+000000 770s # Composing U+000000 and U+01611f; expecting U+000000 770s # Composing U+011390 and U+0113c2; expecting U+000000 770s ok 11 /unicode/compose 770s ok 12 /unicode/decompose 770s ok 13 /unicode/decompose-tail 770s ok 14 /unicode/defined 770s ok 15 /unicode/digit 770s ok 16 /unicode/digit-value 770s # Fully decomposing U+000041; expecting 1 codepoints 770s # Fully decomposing U+00fb01; expecting 1 codepoints 770s # Fully decomposing U+00212b; expecting 2 codepoints 770s # Fully decomposing U+002126; expecting 1 codepoints 770s # Fully decomposing U+000344; expecting 2 codepoints 770s # Fully decomposing U+000f73; expecting 2 codepoints 770s # Fully decomposing U+0000c5; expecting 2 codepoints 770s # Fully decomposing U+0000f4; expecting 2 codepoints 770s # Fully decomposing U+001e69; expecting 3 codepoints 770s # Fully decomposing U+001e63; expecting 2 codepoints 770s # Fully decomposing U+001e0b; expecting 2 codepoints 770s # Fully decomposing U+001e0d; expecting 2 codepoints 770s # Fully decomposing U+00d4db; expecting 3 codepoints 770s # Fully decomposing U+00d4cc; expecting 2 codepoints 770s # Fully decomposing U+00ce31; expecting 3 codepoints 770s # Fully decomposing U+00ce20; expecting 2 codepoints 770s ok 17 /unicode/fully-decompose-canonical 770s ok 18 /unicode/fully-decompose-len 770s ok 19 /unicode/normalization 770s ok 20 /unicode/graph 770s # Testing script Zyyy (code 1517910393) 770s # Testing script Zinh (code 1516858984) 770s # Testing script Zmth (code 1517122664) 770s # Testing script Arab (code 1098015074) 770s # Testing script Armn (code 1098018158) 770s # Testing script Beng (code 1113943655) 770s # Testing script Bopo (code 1114599535) 770s # Testing script Cher (code 1130915186) 770s # Testing script Copt (code 1131376756) 770s # Testing script Cyrl (code 1132032620) 770s # Testing script Dsrt (code 1148416628) 770s # Testing script Deva (code 1147500129) 770s # Testing script Ethi (code 1165256809) 770s # Testing script Geor (code 1197830002) 770s # Testing script Goth (code 1198486632) 770s # Testing script Grek (code 1198679403) 770s ok - glib/unicode.test 770s # Running test: glib/gdbus-exit-on-close.test 770s # Testing script Gujr (code 1198877298) 770s # Testing script Guru (code 1198879349) 770s # Testing script Hani (code 1214344809) 770s # Testing script Hang (code 1214344807) 770s # Testing script Hebr (code 1214603890) 770s # Testing script Hira (code 1214870113) 770s # Testing script Knda (code 1265525857) 770s # Testing script Kana (code 1264676449) 770s # Testing script Khmr (code 1265134962) 770s # Testing script Laoo (code 1281453935) 770s # Testing script Latn (code 1281455214) 770s # Testing script Mlym (code 1298954605) 770s # Testing script Mong (code 1299148391) 770s # Testing script Mymr (code 1299803506) 770s # Testing script Ogam (code 1332175213) 770s # Testing script Ital (code 1232363884) 770s # Testing script Orya (code 1332902241) 770s # Testing script Runr (code 1383427698) 770s # Testing script Sinh (code 1399418472) 770s # Testing script Syrc (code 1400468067) 770s # Testing script Taml (code 1415671148) 770s # Testing script Telu (code 1415933045) 770s # Testing script Thaa (code 1416126817) 770s # Testing script Thai (code 1416126825) 770s # Testing script Tibt (code 1416192628) 770s # Testing script Cans (code 1130458739) 770s # Testing script Yiii (code 1500080489) 770s # Testing script Tglg (code 1416064103) 770s # Testing script Hano (code 1214344815) 770s # Testing script Buhd (code 1114990692) 770s # Testing script Tagb (code 1415669602) 770s # Testing script Brai (code 1114792297) 770s # Testing script Cprt (code 1131442804) 770s # Testing script Limb (code 1281977698) 770s # Testing script Osma (code 1332964705) 770s # Testing script Shaw (code 1399349623) 770s # Testing script Linb (code 1281977954) 770s # Testing script Tale (code 1415670885) 770s # Testing script Ugar (code 1432838514) 770s # Testing script Talu (code 1415670901) 770s # Testing script Bugi (code 1114990441) 770s # Testing script Glag (code 1198285159) 770s # Testing script Tfng (code 1415999079) 770s # Testing script Sylo (code 1400466543) 770s # Testing script Xpeo (code 1483761007) 770s # Testing script Khar (code 1265131890) 770s # Testing script Zzzz (code 1517976186) 770s # Testing script Bali (code 1113681001) 770s # Testing script Xsux (code 1483961720) 770s # Testing script Phnx (code 1349021304) 770s # Testing script Phag (code 1349017959) 770s # Testing script Nkoo (code 1315663727) 770s # Testing script Kali (code 1264675945) 770s # Testing script Lepc (code 1281716323) 770s # Testing script Rjng (code 1382706791) 770s # Testing script Sund (code 1400204900) 770s # Testing script Saur (code 1398895986) 770s # Testing script Cham (code 1130914157) 770s # Testing script Olck (code 1332503403) 770s # Testing script Vaii (code 1449224553) 770s # Testing script Cari (code 1130459753) 770s # Testing script Lyci (code 1283023721) 770s # Testing script Lydi (code 1283023977) 770s # Testing script Avst (code 1098281844) 770s # Testing script Bamu (code 1113681269) 770s # Testing script Egyp (code 1164409200) 770s # Testing script Armi (code 1098018153) 770s # Testing script Phli (code 1349020777) 770s # Testing script Prti (code 1349678185) 770s # Testing script Java (code 1247901281) 770s # Testing script Kthi (code 1265920105) 770s # Testing script Lisu (code 1281979253) 770s # Testing script Mtei (code 1299473769) 770s # Testing script Sarb (code 1398895202) 770s # Testing script Orkh (code 1332898664) 770s # Testing script Samr (code 1398893938) 770s # Testing script Lana (code 1281453665) 770s # Testing script Tavt (code 1415673460) 770s # Testing script Batk (code 1113683051) 770s # Testing script Brah (code 1114792296) 770s # Testing script Mand (code 1298230884) 770s # Testing script Cakm (code 1130457965) 770s # Testing script Merc (code 1298494051) 770s # Testing script Mero (code 1298494063) 770s # Testing script Plrd (code 1349284452) 770s # Testing script Shrd (code 1399353956) 770s # Testing script Sora (code 1399812705) 770s # Testing script Takr (code 1415670642) 770s # Testing script Bass (code 1113682803) 770s # Testing script Aghb (code 1097295970) 770s # Testing script Dupl (code 1148547180) 770s # Testing script Elba (code 1164730977) 770s # Testing script Gran (code 1198678382) 770s # Testing script Khoj (code 1265135466) 770s # Testing script Sind (code 1399418468) 770s # Testing script Lina (code 1281977953) 770s # Testing script Mahj (code 1298229354) 770s # Testing script Mani (code 1298230889) 770s # Testing script Mend (code 1298493028) 770s # Testing script Modi (code 1299145833) 770s # Testing script Mroo (code 1299345263) 770s # Testing script Nbat (code 1315070324) 770s # Testing script Narb (code 1315009122) 770s # Testing script Perm (code 1348825709) 770s # Testing script Hmng (code 1215131239) 770s # Testing script Palm (code 1348562029) 770s # Testing script Pauc (code 1348564323) 770s # Testing script Phlp (code 1349020784) 770s # Testing script Sidd (code 1399415908) 770s # Testing script Tirh (code 1416196712) 770s # Testing script Wara (code 1466004065) 770s # Testing script Ahom (code 1097363309) 770s # Testing script Hluw (code 1215067511) 770s # Testing script Hatr (code 1214346354) 770s # Testing script Mult (code 1299541108) 770s # Testing script Hung (code 1215655527) 770s # Testing script Sgnw (code 1399287415) 770s # Testing script Adlm (code 1097100397) 770s # Testing script Bhks (code 1114139507) 770s # Testing script Marc (code 1298231907) 770s # Testing script Newa (code 1315272545) 770s # Testing script Osge (code 1332963173) 770s # Testing script Tang (code 1415671399) 770s # Testing script Gonm (code 1198485101) 770s # Testing script Nshu (code 1316186229) 770s # Testing script Soyo (code 1399814511) 770s # Testing script Zanb (code 1516334690) 770s # Testing script Dogr (code 1148151666) 770s # Testing script Gong (code 1198485095) 770s # Testing script Rohg (code 1383032935) 770s # Testing script Maka (code 1298230113) 770s # Testing script Medf (code 1298490470) 770s # Testing script Sogo (code 1399809903) 770s # Testing script Sogd (code 1399809892) 770s # Testing script Elym (code 1164736877) 770s # Testing script Nand (code 1315008100) 770s # Testing script Hmnp (code 1215131248) 770s # Testing script Wcho (code 1466132591) 770s # Testing script Chrs (code 1130918515) 770s # Testing script Diak (code 1147756907) 770s # Testing script Kits (code 1265202291) 770s # Testing script Yezi (code 1499822697) 770s # Testing script Cpmn (code 1131441518) 770s # Testing script Ougr (code 1333094258) 770s # Testing script Tnsa (code 1416524641) 770s # Testing script Toto (code 1416590447) 770s # Testing script Vith (code 1449751656) 770s # Testing script Kawi (code 1264678761) 770s # Testing script Nagm (code 1315006317) 770s # Testing script Todr (code 1416586354) 770s # Testing script Gara (code 1197568609) 770s # Testing script Tutg (code 1416983655) 770s # Testing script Sunu (code 1400204917) 770s # Testing script Gukh (code 1198877544) 770s # Testing script Krai (code 1265787241) 770s # Testing script Onao (code 1332633967) 770s ok 21 /unicode/iso15924 770s ok 22 /unicode/lower 770s ok 23 /unicode/mark 770s ok 24 /unicode/mirror 770s ok 25 /unicode/print 770s ok 26 /unicode/punctuation 770s ok 27 /unicode/script 770s ok 28 /unicode/space 770s ok 29 /unicode/strdown 770s ok 30 /unicode/strup 770s ok 31 /unicode/turkish-strupdown 770s ok 32 /unicode/title 770s ok 33 /unicode/upper 770s ok 34 /unicode/validate 770s ok 35 /unicode/wide 770s ok 36 /unicode/xdigit 770s ok 37 /unicode/xdigit-value 770s ok 38 /unicode/zero-width 770s ok 39 /unicode/normalize 770s # End of unicode tests 770s TAP version 14 770s # random seed: R02S4086fbaca7cbc2df4ddfd5150860ed47 770s 1..4 770s # Start of gdbus tests 770s # Start of exit-on-close tests 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/default/.dirs/runtime 770s ok 1 /gdbus/exit-on-close/default 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/true/.dirs/runtime 770s ok 2 /gdbus/exit-on-close/true 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/false/.dirs/runtime 770s ok 3 /gdbus/exit-on-close/false 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZA3JE3/gdbus/exit-on-close/we-close/.dirs/runtime 770s ok - glib/gdbus-exit-on-close.test 770s # Running test: glib/markup.test 770s ok 4 /gdbus/exit-on-close/we-close 770s # Start of default tests 770s # End of default tests 770s # Start of true tests 770s # End of true tests 770s # Start of false tests 770s # End of false tests 770s # Start of we-close tests 770s # End of we-close tests 770s # End of exit-on-close tests 770s # End of gdbus tests 770s TAP version 14 770s # random seed: R02Scaf7f5c477e0b3b3080d2e5eacc3925f 770s 1..1 770s # Start of markup tests 770s ok 1 /markup/stack 770s # End of markup tests 770s TAP version 14 770s # random seed: R02Sc6a65a1899ac72e60978e09dbfb95a08 770s 1..4 770s # Start of C tests 770s ok 1 /C/standard-89 770s # End of C tests 770s # Start of alignof tests 770s ok 2 /alignof/fallback 770s # End of alignof tests 770s # Start of assert tests 770s ok 3 /assert/static 770s # End of assert tests 770s # Start of struct tests 770s ok 4 /struct/sizeof_member 770s # End of struct tests 770s TAP version 14 770s # random seed: R02Sf4ef51743cb56a6029a004d5a4d98090 770s 1..1 770s # Start of network-monitor tests 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 770s ok - glib/markup.test 770s # Running test: glib/macros-c-89.test 770s ok - glib/macros-c-89.test 770s # Running test: glib/network-monitor-race.test 771s # Executing: glib/network-monitor-race.test 772s ok - glib/network-monitor-race.test 772s # Running test: glib/performance.test 772s ok 1 /network-monitor/create-in-thread 772s # slow test /network-monitor/create-in-thread executed in 2.10 secs 772s # End of network-monitor tests 776s # Executing: glib/performance.test 778s simple-construction: Millions of constructed objects per second: 22.766 781s simple-construction1: Millions of constructed objects per second: 82.736 781s # Executing: glib/performance.test 784s complex-construction: Millions of constructed objects per second: 7.630 786s # Executing: glib/performance.test 789s complex-construction1: Millions of constructed objects per second: 14.468 791s # Executing: glib/performance.test 794s complex-construction2: Millions of constructed objects per second: 15.826 795s finalization: Millions of finalized objects per second: 4.817 796s # Executing: glib/performance.test 796s type-check: Million type checks per second: 75.71 798s emit-unhandled: Emissions per second: 7799746 799s emit-unhandled-empty: Emissions per second: 51084081 800s emit-unhandled-generic: Emissions per second: 12410676 801s # Executing: glib/performance.test 801s emit-unhandled-generic-empty: Emissions per second: 51113394 802s emit-unhandled-args: Emissions per second: 6019443 804s emit-handled: Emissions per second: 5170130 805s emit-handled-empty: Emissions per second: 5480281 806s emit-handled-generic: Emissions per second: 5521644 806s # Executing: glib/performance.test 807s emit-handled-generic-empty: Emissions per second: 9987134 808s emit-handled-args: Emissions per second: 4392987 809s notify-unhandled: Notify (unhandled) per second: 36743936 811s notify-by-pspec-unhandled: Notify (unhandled) per second: 134957132 811s # Executing: glib/performance.test 812s notify-handled: Notify per second: 2793488 813s notify-by-pspec-handled: Notify per second: 3009039 814s property-set: Property set per second: 22270914 815s property-set-signaled: Property set per second: 5768864 816s # Executing: glib/performance.test 817s property-get: Property get per second: 21315631 818s refcount: Million refs+unref per second: 54.14 819s refcount-1: Million refs+unref per second: 151.87 820s refcount-toggle: Million refs+unref per second: 96.81 820s ok - glib/performance.test 820s # Running test: glib/sequence.test 820s TAP version 14 820s # random seed: R02S3a533cd86a75bc257a31bf09300ae705 820s 1..16 820s # Start of sequence tests 820s ok 1 /sequence/out-of-range-jump 820s ok 2 /sequence/iter-move 820s ok 3 /sequence/insert-sorted-non-pointer 820s ok 4 /sequence/stable-sort 820s ok 5 /sequence/is_empty 820s # Start of random tests 821s ok 6 /sequence/random/seed:825541564 821s # slow test /sequence/random/seed:825541564 executed in 0.65 secs 821s # Executing: glib/sequence.test 821s ok 7 /sequence/random/seed:801678400 821s # slow test /sequence/random/seed:801678400 executed in 0.61 secs 822s ok 8 /sequence/random/seed:1477639090 822s # slow test /sequence/random/seed:1477639090 executed in 0.75 secs 823s ok 9 /sequence/random/seed:3369132895 823s # slow test /sequence/random/seed:3369132895 executed in 0.63 secs 824s ok 10 /sequence/random/seed:1192944867 824s # slow test /sequence/random/seed:1192944867 executed in 0.63 secs 824s ok 11 /sequence/random/seed:770458294 824s # slow test /sequence/random/seed:770458294 executed in 0.65 secs 825s ok 12 /sequence/random/seed:1099575817 825s # slow test /sequence/random/seed:1099575817 executed in 0.62 secs 825s ok 13 /sequence/random/seed:590523467 825s # slow test /sequence/random/seed:590523467 executed in 0.70 secs 826s # Executing: glib/sequence.test 826s ok 14 /sequence/random/seed:3583571454 826s # slow test /sequence/random/seed:3583571454 executed in 0.69 secs 827s ok 15 /sequence/random/seed:579241222 827s # slow test /sequence/random/seed:579241222 executed in 0.65 secs 827s ok - glib/sequence.test 827s # Running test: glib/hook.test 827s ok 16 /sequence/random/seed:983828005 827s # slow test /sequence/random/seed:983828005 executed in 0.66 secs 827s # End of random tests 827s # End of sequence tests 827s TAP version 14 827s # random seed: R02S79318c249d32edf3213ccf6afe17a3ec 827s 1..2 827s # Start of hook tests 827s ok 1 /hook/basics 827s ok 2 /hook/corner-cases 827s # End of hook tests 828s ok - glib/hook.test 828s # Running test: glib/buffered-output-stream.test 828s ok - glib/buffered-output-stream.test 828s # Running test: glib/dynamictype.test 828s ok - glib/dynamictype.test 828s # Running test: glib/properties-refcount2.test 828s TAP version 14 828s # random seed: R02S44384bbebebfa9cfce079eb6ad857fee 828s 1..5 828s # Start of buffered-output-stream tests 828s ok 1 /buffered-output-stream/write 828s ok 2 /buffered-output-stream/grow 828s ok 3 /buffered-output-stream/seek 828s ok 4 /buffered-output-stream/truncate 828s # End of buffered-output-stream tests 828s # Start of filter-output-stream tests 828s ok 5 /filter-output-stream/close 828s # End of filter-output-stream tests 828s TAP version 14 828s # random seed: R02Se47ef11d31a91de2d5e0c8ea50a4eadd 828s 1..2 828s # Start of gobject tests 828s ok 1 /gobject/dynamic-type 828s # Start of dynamic-type tests 828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 828s ok 2 /gobject/dynamic-type/query 828s # End of dynamic-type tests 828s # End of gobject tests 828s TAP version 14 828s # random seed: R02Sb1821b07b5d6ceb19c2d7a8cf905ded2 828s 1..1 828s # Start of gobject tests 828s # Start of refcount tests 828s # init 0x2aa2ec07eb0 828s # 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # dispose 0x2aa2ec07eb0! 828s # 828s ok 1 /gobject/refcount/properties-2 828s # slow test /gobject/refcount/properties-2 executed in 0.62 secs 828s # End of refcount tests 828s # End of gobject tests 828s ok - glib/properties-refcount2.test 828s # Running test: glib/closure.test 828s TAP version 14 828s # random seed: R02Sd0a697bd0db27a1177b405e36d9b32e4 828s 1..6 828s # Start of closure tests 828s ok 1 /closure/idle 828s ok 2 /closure/timeout 828s ok 3 /closure/iochannel 828s ok 4 /closure/child 828s ok 5 /closure/fd 828s ok 6 /closure/signal 828s # End of closure tests 828s ok - glib/closure.test 828s # Running test: glib/closure-refcount.test 828s TAP version 14 828s # random seed: R02Sbeff4ed95700bdc59edd82a12577b948 828s 1..1 828s # Start of closure tests 828s # Init 0x2aa18875db0 828s # Yielding from main thread 828s # Yielding from thread1 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread1 828s # Yielding from thread2 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread1 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread2 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread1 828s # Yielding from thread2 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread2 828s # Yielding from main thread 828s # Yielding from thread1 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from main thread 828s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 829s # Yielding from thread2 829s # Yielding from main thread 829s # Yielding from main thread 829s # Yielding from thread1 829s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread2 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread1 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread2 830s # Yielding from thread1 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread2 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread1 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread2 830s # Yielding from thread1 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from main thread 830s # Yielding from thread1 830s # Yielding from main thread 830s # Stopping 830s # Stopped 830s ok 1 /closure/refcount 830s # slow test /closure/refcount executed in 1.68 secs 830s # End of closure tests 830s ok - glib/closure-refcount.test 830s # Running test: glib/utf8-performance.test 830s TAP version 14 830s # random seed: R02Sd17532fc259cc6d021d8a978d9cefd6f 830s 1..36 830s # Start of utf8 tests 830s # Start of perf tests 830s # Start of get_char tests 830s # max perf: inf MB/s 830s ok 1 /utf8/perf/get_char/ascii 830s # max perf: inf MB/s 830s ok 2 /utf8/perf/get_char/latin1 830s # max perf: 160.0 MB/s 830s ok 3 /utf8/perf/get_char/cyrillic 830s # max perf: inf MB/s 830s ok 4 /utf8/perf/get_char/han 830s # End of get_char tests 830s # Start of get_char-backwards tests 830s # max perf: inf MB/s 830s ok 5 /utf8/perf/get_char-backwards/ascii 830s # max perf: inf MB/s 830s ok 6 /utf8/perf/get_char-backwards/latin1 830s # max perf: 160.0 MB/s 830s ok 7 /utf8/perf/get_char-backwards/cyrillic 830s # max perf: 156.0 MB/s 830s ok 8 /utf8/perf/get_char-backwards/han 830s # End of get_char-backwards tests 830s # Start of get_char_validated tests 830s # max perf: 43.0 MB/s 830s ok 9 /utf8/perf/get_char_validated/ascii 830s # max perf: inf MB/s 830s ok 10 /utf8/perf/get_char_validated/latin1 830s # max perf: inf MB/s 830s ok 11 /utf8/perf/get_char_validated/cyrillic 830s # max perf: 156.0 MB/s 830s ok 12 /utf8/perf/get_char_validated/han 830s # End of get_char_validated tests 830s # Start of utf8_to_ucs4 tests 830s # max perf: 43.0 MB/s 830s ok 13 /utf8/perf/utf8_to_ucs4/ascii 830s # max perf: 67.0 MB/s 830s ok 14 /utf8/perf/utf8_to_ucs4/latin1 830s # max perf: 160.0 MB/s 830s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 830s # max perf: 156.0 MB/s 830s ok 16 /utf8/perf/utf8_to_ucs4/han 830s # End of utf8_to_ucs4 tests 830s # Start of utf8_to_ucs4-sized tests 830s # max perf: inf MB/s 830s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 830s # max perf: inf MB/s 830s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 830s # max perf: 160.0 MB/s 830s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 830s # max perf: 156.0 MB/s 830s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 830s # End of utf8_to_ucs4-sized tests 830s # Start of utf8_to_ucs4_fast tests 830s # max perf: 43.0 MB/s 830s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 830s # max perf: inf MB/s 830s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 830s # max perf: 160.0 MB/s 830s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 830s # max perf: inf MB/s 830s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 830s # End of utf8_to_ucs4_fast tests 830s # Start of utf8_to_ucs4_fast-sized tests 830s # max perf: 43.0 MB/s 830s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 830s # max perf: 67.0 MB/s 830s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 830s # max perf: inf MB/s 830s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 830s # max perf: inf MB/s 830s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 830s # End of utf8_to_ucs4_fast-sized tests 830s # Start of utf8_validate tests 830s # max perf: 21.5 MB/s 830s ok 29 /utf8/perf/utf8_validate/ascii 830s # max perf: inf MB/s 830s ok 30 /utf8/perf/utf8_validate/latin1 830s # max perf: inf MB/s 830s ok 31 /utf8/perf/utf8_validate/cyrillic 830s # max perf: inf MB/s 830s ok 32 /utf8/perf/utf8_validate/han 830s # End of utf8_validate tests 830s # Start of utf8_validate-sized tests 830s # max perf: 43.0 MB/s 830s ok 33 /utf8/perf/utf8_validate-sized/ascii 830s # max perf: inf MB/s 830s ok 34 /utf8/perf/utf8_validate-sized/latin1 830s # max perf: inf MB/s 830s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 830s ok - glib/utf8-performance.test 830s # Running test: glib/unix.test 830s # max perf: inf MB/s 830s ok 36 /utf8/perf/utf8_validate-sized/han 830s # End of utf8_validate-sized tests 830s # End of perf tests 830s # End of utf8 tests 830s TAP version 14 830s # random seed: R02Sa6bfd50154c0d8a2e149508bb1b1ea5e 830s 1..20 830s # Start of glib-unix tests 830s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 830s ok 1 /glib-unix/closefrom 830s ok 2 /glib-unix/pipe 830s # /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 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 830s ok 3 /glib-unix/pipe-stdio-overwrite 830s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 830s ok 4 /glib-unix/pipe-struct 830s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 830s ok 5 /glib-unix/pipe-struct-auto 830s ok 6 /glib-unix/error 830s ok 7 /glib-unix/nonblocking 830s ok 8 /glib-unix/sighup 830s # slow test /glib-unix/sighup executed in 0.50 secs 831s ok 9 /glib-unix/sigterm 831s # slow test /glib-unix/sigterm executed in 0.50 secs 831s # Executing: glib/unix.test 831s ok 10 /glib-unix/sighup_again 831s # slow test /glib-unix/sighup_again executed in 0.50 secs 831s ok 11 /glib-unix/sighup_add_remove 831s ok 12 /glib-unix/sighup_nested 833s ok 13 /glib-unix/callback_after_signal 833s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 833s ok 14 /glib-unix/child-wait 833s # Start of closefrom tests 833s # Start of subprocess tests 833s # End of subprocess tests 833s # End of closefrom tests 833s # Start of pipe tests 833s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 833s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 833s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 833s ok 15 /glib-unix/pipe/fd-cloexec 833s # End of pipe tests 833s # Start of sighup tests 834s ok 16 /glib-unix/sighup/alternate-stack 834s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 834s # End of sighup tests 834s # Start of sigterm tests 835s ok 17 /glib-unix/sigterm/alternate-stack 835s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 835s # End of sigterm tests 835s # Start of sighup_again tests 836s # Executing: glib/unix.test 836s ok - glib/unix.test 836s # SUMMARY: total=330; passed=329; skipped=1; failed=0; user=180.3s; system=34.4s; maxrss=175068 836s ok 18 /glib-unix/sighup_again/alternate-stack 836s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 836s # End of sighup_again tests 836s # Start of get-passwd-entry tests 836s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 836s ok 19 /glib-unix/get-passwd-entry/root 836s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 836s ok 20 /glib-unix/get-passwd-entry/nonexistent 836s # End of get-passwd-entry tests 836s # End of glib-unix tests 837s autopkgtest [18:41:16]: test installed-tests: -----------------------] 838s installed-tests PASS 838s autopkgtest [18:41:17]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 838s autopkgtest [18:41:17]: test closure-refcount: preparing testbed 838s Reading package lists... 838s Building dependency tree... 838s Reading state information... 839s Solving dependencies... 839s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 839s autopkgtest [18:41:18]: test closure-refcount: [----------------------- 840s Running test: glib/closure-refcount.test 840s TAP version 14 840s # random seed: R02S2037d5af3907d086c082213485108adc 840s 1..1 840s # Start of closure tests 840s # Init 0x2aa40d79db0 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread2 840s # Yielding from main thread 840s # Yielding from main thread 840s # Yielding from thread1 840s # Yielding from thread2 840s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread1 841s # Yielding from main thread 841s # Yielding from main thread 841s # Yielding from thread2 841s # Yielding from thread1 841s # Stopping 841s # Stopped 841s ok 1 /closure/refcount 841s # slow test /closure/refcount executed in 1.76 secs 841s # End of closure tests 841s PASS: glib/closure-refcount.test 841s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.1s; system=0.0s; maxrss=3520 842s autopkgtest [18:41:21]: test closure-refcount: -----------------------] 842s closure-refcount PASS 842s autopkgtest [18:41:21]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 843s autopkgtest [18:41:22]: test debugcontroller: preparing testbed 843s Reading package lists... 843s Building dependency tree... 843s Reading state information... 843s Solving dependencies... 843s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 844s autopkgtest [18:41:23]: test debugcontroller: [----------------------- 844s Running test: glib/debugcontroller.test 844s TAP version 14 844s # random seed: R02Seb2c892854bdad5d8d2ec8e54293583b 844s 1..3 844s # Start of debug-controller tests 844s # Start of dbus tests 844s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 844s # GLib-GIO-DEBUG: Debug output enabled 844s # GLib-GIO-DEBUG: Debug output disabled 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 1 /debug-controller/dbus/basic 844s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 2 /debug-controller/dbus/duplicate 844s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # GLib-GIO-DEBUG: Debug output enabled 844s # GLib-GIO-DEBUG: Debug output disabled 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 3 /debug-controller/dbus/properties 844s # End of dbus tests 844s # End of debug-controller tests 844s PASS: glib/debugcontroller.test 844s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6356 844s autopkgtest [18:41:23]: test debugcontroller: -----------------------] 845s autopkgtest [18:41:24]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 845s debugcontroller PASS 845s autopkgtest [18:41:24]: test gdbus-server-auth: preparing testbed 845s Reading package lists... 846s Building dependency tree... 846s Reading state information... 846s Solving dependencies... 846s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 846s autopkgtest [18:41:25]: test gdbus-server-auth: [----------------------- 847s Running test: glib/gdbus-server-auth.test 847s TAP version 14 847s # random seed: R02S3b4d1ccb66aa4c0b4d6b46ecbceb0eec 847s 1..9 847s # Start of gdbus tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/.dirs/runtime 847s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-VFTKE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 847s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-VFTKE3/dbus-4M7IV98o 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 847s ok 1 /gdbus/server-auth 847s # Start of server-auth tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/abstract/.dirs/runtime 847s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-GAPKE3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 847s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-GAPKE3/dbus-XS1FBvOX 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 847s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 847s ok 2 /gdbus/server-auth/abstract 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/tcp/.dirs/runtime 847s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 847s # Connectable address: tcp:host=127.0.0.1,port=38337 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 847s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 847s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 847s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 847s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 847s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 847s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 848s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 848s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 848s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 848s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 848s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 848s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 848s ok 3 /gdbus/server-auth/tcp 848s # slow test /gdbus/server-auth/tcp executed in 1.03 secs 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/.dirs/runtime 848s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-9W9JE3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 848s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-9W9JE3/dbus-XP8MAI4v 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 848s ok 4 /gdbus/server-auth/anonymous 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/.dirs/runtime 848s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-UNSJE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 848s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-UNSJE3/dbus-ePbxpQQ9 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 848s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 848s ok 5 /gdbus/server-auth/external 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/.dirs/runtime 848s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-LSOJE3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 848s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-LSOJE3/dbus-6tpnnacA 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 848s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 848s ok 6 /gdbus/server-auth/sha1 848s # Start of anonymous tests 848s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/home 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/cache 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/config 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/data 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/state 848s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 848s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 848s # Connectable address: tcp:host=127.0.0.1,port=35405 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 848s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 848s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 848s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 848s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 849s ok 7 /gdbus/server-auth/anonymous/tcp 849s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.03 secs 849s # End of anonymous tests 849s # Start of external tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/external/require-same-user/.dirs/runtime 849s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-KPRIE3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 849s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZOTKE3/gdbus-server-auth-KPRIE3/dbus-xIHFXCsh 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40053 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 849s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40053,uid=1000,gid=1000 849s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40053 849s ok 8 /gdbus/server-auth/external/require-same-user 849s # End of external tests 849s # Start of sha1 tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZOTKE3/gdbus/server-auth/sha1/tcp/.dirs/runtime 849s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 849s # Connectable address: tcp:host=127.0.0.1,port=39995 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 849s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 849s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 849s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 849s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 849s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 850s ok 9 /gdbus/server-auth/sha1/tcp 850s # slow test /gdbus/server-auth/sha1/tcp executed in 1.06 secs 850s # End of sha1 tests 850s # End of server-auth tests 850s # End of gdbus tests 850s PASS: glib/gdbus-server-auth.test 850s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8540 850s autopkgtest [18:41:29]: test gdbus-server-auth: -----------------------] 851s gdbus-server-auth PASS 851s autopkgtest [18:41:30]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 851s autopkgtest [18:41:30]: test gdbus-threading: preparing testbed 851s Reading package lists... 851s Building dependency tree... 851s Reading state information... 851s Solving dependencies... 851s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 852s autopkgtest [18:41:31]: test gdbus-threading: [----------------------- 852s Running test: glib/gdbus-threading.test 852s TAP version 14 852s # random seed: R02Sd6568511c2c4450138b2e0dc311fd686 852s 1..3 852s # Start of gdbus tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PY71E3/gdbus/delivery-in-thread/.dirs/runtime 852s ok 1 /gdbus/delivery-in-thread 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PY71E3/gdbus/method-calls-in-thread/.dirs/runtime 853s ok 2 /gdbus/method-calls-in-thread 853s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PY71E3/gdbus/threaded-singleton/.dirs/runtime 854s ok 3 /gdbus/threaded-singleton 854s # slow test /gdbus/threaded-singleton executed in 0.52 secs 854s # End of gdbus tests 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 854s PASS: glib/gdbus-threading.test 854s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6252 854s autopkgtest [18:41:33]: test gdbus-threading: -----------------------] 855s autopkgtest [18:41:34]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 855s gdbus-threading PASS 855s autopkgtest [18:41:34]: test gmenumodel: preparing testbed 855s Reading package lists... 855s Building dependency tree... 855s Reading state information... 855s Solving dependencies... 856s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 856s autopkgtest [18:41:35]: test gmenumodel: [----------------------- 856s Running test: glib/gmenumodel.test 856s TAP version 14 856s # random seed: R02S74b5e53811bc7bd8f49db5fd657544ce 856s 1..15 856s # Start of gmenu tests 857s ok 1 /gmenu/equality 857s ok 2 /gmenu/random 857s ok 3 /gmenu/attributes 857s ok 4 /gmenu/links 857s ok 5 /gmenu/mutable 857s ok 6 /gmenu/convenience 857s ok 7 /gmenu/menuitem 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 857s ok 8 /gmenu/input-validation 857s # Start of dbus tests 858s ok 9 /gmenu/dbus/roundtrip 858s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 859s ok 10 /gmenu/dbus/subscriptions 859s ok 11 /gmenu/dbus/threaded 859s # Start of peer tests 860s ok 12 /gmenu/dbus/peer/roundtrip 860s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 861s ok 13 /gmenu/dbus/peer/subscriptions 861s # End of peer tests 861s # Start of export tests 861s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 861s ok 14 /gmenu/dbus/export/error-handling 861s # End of export tests 861s # End of dbus tests 861s # Start of attributes tests 861s ok 15 /gmenu/attributes/iterate 861s # End of attributes tests 861s # End of gmenu tests 861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 861s PASS: glib/gmenumodel.test 861s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.8s; system=0.1s; maxrss=28488 861s autopkgtest [18:41:40]: test gmenumodel: -----------------------] 862s gmenumodel PASS 862s autopkgtest [18:41:41]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 862s autopkgtest [18:41:41]: test mainloop: preparing testbed 862s Reading package lists... 863s Building dependency tree... 863s Reading state information... 863s Solving dependencies... 863s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 864s autopkgtest [18:41:43]: test mainloop: [----------------------- 864s Running test: glib/mainloop.test 864s TAP version 14 864s # random seed: R02Scd7786bc95abb813c40095e8acc1ee32 864s 1..47 864s # Start of maincontext tests 864s ok 1 /maincontext/basic 864s # Add same-priority sources: 14 864s # Find each source: 1 864s # Remove in random order: 14 864s ok 2 /maincontext/nsources_same_priority 864s # Add different-priority sources: 17 864s # Find each source: 1 864s # Remove in random order: 13 864s ok 3 /maincontext/nsources_different_priority 864s # Add sources from threads: 31 864s # Remove sources from threads: 22 864s ok 4 /maincontext/nsources_threadpool 864s ok 5 /maincontext/source_finalization 864s # /maincontext/idle-once summary: Test g_idle_add_once() works 864s ok 6 /maincontext/idle-once 864s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 864s ok 7 /maincontext/timeout-once 864s # /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. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 864s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 864s # Start of source_finalization_from_source tests 864s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 9 /maincontext/source_finalization_from_source/0 864s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 10 /maincontext/source_finalization_from_source/1 864s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 11 /maincontext/source_finalization_from_source/2 864s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 12 /maincontext/source_finalization_from_source/3 864s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 13 /maincontext/source_finalization_from_source/4 864s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 14 /maincontext/source_finalization_from_source/5 864s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 15 /maincontext/source_finalization_from_source/6 864s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 16 /maincontext/source_finalization_from_source/7 864s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 17 /maincontext/source_finalization_from_source/8 864s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 864s ok 18 /maincontext/source_finalization_from_source/9 864s # End of source_finalization_from_source tests 864s # Start of source_finalization_from_dispatch tests 864s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 864s ok 19 /maincontext/source_finalization_from_dispatch/0 864s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 864s ok 20 /maincontext/source_finalization_from_dispatch/1 864s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 864s ok 21 /maincontext/source_finalization_from_dispatch/2 864s # End of source_finalization_from_dispatch tests 864s # End of maincontext tests 864s # Start of mainloop tests 864s ok 22 /mainloop/basic 864s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 864s ok 24 /mainloop/priorities 865s ok 25 /mainloop/invoke 865s # slow test /mainloop/invoke executed in 0.50 secs 866s ok 26 /mainloop/child_sources 866s # slow test /mainloop/child_sources executed in 1.18 secs 868s ok 27 /mainloop/recursive_child_sources 868s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 868s ok 28 /mainloop/recursive_loop_child_sources 868s ok 29 /mainloop/swapping_child_sources 868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 868s ok 30 /mainloop/blocked_child_sources 869s Executing: glib/mainloop.test 869s ok 31 /mainloop/source_time 869s # slow test /mainloop/source_time executed in 1.00 secs 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 869s ok 32 /mainloop/overflow 870s ok 33 /mainloop/ready-time 870s # slow test /mainloop/ready-time executed in 0.50 secs 870s ok 34 /mainloop/wakeup 870s ok 35 /mainloop/remove-invalid 870s ok 36 /mainloop/unref-while-pending 870s ok 37 /mainloop/unix-fd 870s ok 38 /mainloop/unix-fd-source 870s ok 39 /mainloop/source-unix-fd-api 870s ok 40 /mainloop/wait 870s ok 41 /mainloop/unix-file-poll 870s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 870s ok 42 /mainloop/unix-fd-priority 870s ok 43 /mainloop/nfds 870s ok 44 /mainloop/steal-fd 871s ok 45 /mainloop/simultaneous-source-context-destruction 871s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.60 secs 871s # Start of ownerless-polling tests 871s ok 46 /mainloop/ownerless-polling/attach-first 871s ok 47 /mainloop/ownerless-polling/pop-first 871s # End of ownerless-polling tests 871s # End of mainloop tests 871s PASS: glib/mainloop.test 871s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.8s; maxrss=17352 871s autopkgtest [18:41:50]: test mainloop: -----------------------] 872s autopkgtest [18:41:51]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 872s mainloop PASS 872s autopkgtest [18:41:51]: test memory-monitor-dbus: preparing testbed 872s Reading package lists... 873s Building dependency tree... 873s Reading state information... 873s Solving dependencies... 873s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 874s autopkgtest [18:41:53]: test memory-monitor-dbus: [----------------------- 874s Running test: glib/memory-monitor-dbus.test 874s TAP version 13 874s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 874s # Received memory warning signal, level 874s # Received memory warning signal, level 874s # Received memory warning signal, level 874s 1..1 874s PASS: glib/memory-monitor-dbus.test 874s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=30648 874s autopkgtest [18:41:53]: test memory-monitor-dbus: -----------------------] 875s autopkgtest [18:41:54]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 875s memory-monitor-dbus PASS 875s autopkgtest [18:41:54]: test socket: preparing testbed 875s Reading package lists... 876s Building dependency tree... 876s Reading state information... 876s Solving dependencies... 876s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 876s autopkgtest [18:41:55]: test socket: [----------------------- 877s Running test: glib/socket.test 877s TAP version 14 877s # random seed: R02S7b68d6cc66d47ef92ce5beec8a18e500 877s 1..30 877s # Start of socket tests 878s ok 1 /socket/ipv4_sync 878s # slow test /socket/ipv4_sync executed in 1.00 secs 879s ok 2 /socket/ipv4_async 879s # slow test /socket/ipv4_async executed in 1.00 secs 879s ok 3 /socket/ipv6_sync 879s ok 4 /socket/ipv6_async 879s ok 5 /socket/ipv6_v4mapped 880s ok 6 /socket/close_graceful 880s # slow test /socket/close_graceful executed in 1.00 secs 880s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 880s ok 8 /socket/fd_reuse 880s ok 9 /socket/address 880s ok 10 /socket/unix-from-fd 880s ok 11 /socket/unix-connection 880s ok 12 /socket/unix-connection-ancillary-data 880s ok 13 /socket/source-postmortem 880s ok 14 /socket/read_write 880s ok 15 /socket/read_writev 880s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 880s ok 16 /socket/receive_bytes 880s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 880s ok 17 /socket/receive_bytes_from 880s # Start of ipv4_sync tests 880s ok 18 /socket/ipv4_sync/datagram 880s # Start of datagram tests 881s ok 19 /socket/ipv4_sync/datagram/timeouts 881s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 881s # End of datagram tests 881s # End of ipv4_sync tests 881s # Start of ipv6_sync tests 881s ok 20 /socket/ipv6_sync/datagram 881s # Start of datagram tests 882s Executing: glib/socket.test 882s ok 21 /socket/ipv6_sync/datagram/timeouts 882s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 882s # End of datagram tests 882s # End of ipv6_sync tests 882s # Start of reuse tests 882s ok 22 /socket/reuse/tcp 882s ok 23 /socket/reuse/udp 882s # End of reuse tests 882s # Start of get_available tests 882s ok 24 /socket/get_available/datagram 882s ok 25 /socket/get_available/stream 882s # End of get_available tests 882s # Start of credentials tests 882s # Supported on this OS: GCredentials:linux-ucred:pid=0 882s ok 26 /socket/credentials/tcp_client 882s # Supported on this OS: GCredentials:linux-ucred:pid=0 882s ok 27 /socket/credentials/tcp_server 882s # Supported on this OS: GCredentials:linux-ucred:pid=66050,uid=1000,gid=1000 882s ok 28 /socket/credentials/unix_socketpair 882s # End of credentials tests 882s # Start of accept tests 882s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 882s ok 29 /socket/accept/cancelled 882s # End of accept tests 882s # Start of connect tests 882s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 882s ok 30 /socket/connect/cancelled 882s # End of connect tests 882s # End of socket tests 882s PASS: glib/socket.test 882s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5720 882s autopkgtest [18:42:01]: test socket: -----------------------] 883s autopkgtest [18:42:02]: test socket: - - - - - - - - - - results - - - - - - - - - - 883s socket PASS 883s autopkgtest [18:42:02]: test testfilemonitor: preparing testbed 883s Reading package lists... 884s Building dependency tree... 884s Reading state information... 884s Solving dependencies... 884s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 884s autopkgtest [18:42:03]: test testfilemonitor: [----------------------- 885s Running test: glib/testfilemonitor.test 885s TAP version 14 885s # random seed: R02S7282f04c2e8e72de66768607b569e8d6 885s 1..8 885s # Start of monitor tests 885s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 885s # Using temporary directory: /tmp/gio-test-testfilemonitor_A7EKE3 885s # Using GFileMonitor GInotifyFileMonitor 887s ok 1 /monitor/atomic-replace 887s # slow test /monitor/atomic-replace executed in 2.00 secs 887s # Using temporary directory: /tmp/gio-test-testfilemonitor_44CKE3 887s # Using GFileMonitor GInotifyFileMonitor 889s ok 2 /monitor/file-changes 889s # slow test /monitor/file-changes executed in 2.50 secs 889s # Using temporary directory: /tmp/gio-test-testfilemonitor_KE1VE3 889s # Using GFileMonitor GInotifyFileMonitor 890s Executing: glib/testfilemonitor.test 893s ok 3 /monitor/dir-monitor 893s # slow test /monitor/dir-monitor executed in 3.50 secs 893s # Using temporary directory: /tmp/gio-test-testfilemonitor_5CJKE3 893s # Using GFileMonitor GInotifyFileMonitor 895s Executing: glib/testfilemonitor.test 900s Executing: glib/testfilemonitor.test 905s Executing: glib/testfilemonitor.test 910s Executing: glib/testfilemonitor.test 915s Executing: glib/testfilemonitor.test 918s ok 4 /monitor/dir-not-existent 918s # slow test /monitor/dir-not-existent executed in 25.02 secs 918s # Using temporary directory: /tmp/gio-test-testfilemonitor_GYOJE3 918s # Using GFileMonitor 0 GInotifyFileMonitor 918s # Using GFileMonitor 1 GInotifyFileMonitor 920s ok 5 /monitor/cross-dir-moves 920s # slow test /monitor/cross-dir-moves executed in 2.00 secs 920s # Using temporary directory: /tmp/gio-test-testfilemonitor_8GZJE3 920s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 920s ok 6 /monitor/finalize-in-callback 920s # Using temporary directory: /tmp/gio-test-testfilemonitor_10XJE3 920s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 920s ok 7 /monitor/root 920s # Start of file tests 920s # Using temporary directory: /tmp/gio-test-testfilemonitor_SRXJE3 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 920s # Running with hard link tests 920s # Using GFileMonitor GInotifyFileMonitor 920s Executing: glib/testfilemonitor.test 923s # Event 0 at expected index 7 skipped because it is marked as optional 923s # Event 2 at expected index 11 skipped because it is marked as optional 923s ok 8 /monitor/file/hard-links 923s # slow test /monitor/file/hard-links executed in 3.50 secs 923s # End of file tests 923s # End of monitor tests 923s PASS: glib/testfilemonitor.test 923s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5876 924s autopkgtest [18:42:43]: test testfilemonitor: -----------------------] 924s testfilemonitor PASS 924s autopkgtest [18:42:43]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 925s autopkgtest [18:42:44]: test thread-pool-slow: preparing testbed 925s Reading package lists... 925s Building dependency tree... 925s Reading state information... 925s Solving dependencies... 925s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 926s autopkgtest [18:42:45]: test thread-pool-slow: [----------------------- 926s Running test: glib/thread-pool-slow.test 926s TAP version 14 926s # random seed: R02Sb9b3130c66353d461529b8cc00594ee2 926s 1..7 926s # Start of threadpool tests 926s ok 1 /threadpool/functions 927s ok 2 /threadpool/stop-unused 927s # slow test /threadpool/stop-unused executed in 0.51 secs 927s ok 3 /threadpool/pools 927s # [unsorted] ===> pushed new thread with id:36, number of threads:1, unprocessed:1 927s # [unsorted] ===> pushed new thread with id:35, number of threads:2, unprocessed:1 927s # [unsorted] ===> pushed new thread with id:55, number of threads:3, unprocessed:2 927s # [unsorted] ===> pushed new thread with id:57, number of threads:4, unprocessed:1 927s # [unsorted] ===> pushed new thread with id:15, number of threads:5, unprocessed:1 927s # [unsorted] ===> pushed new thread with id:34, number of threads:6, unprocessed:2 927s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:3 927s # [unsorted] ===> pushed new thread with id:92, number of threads:8, unprocessed:4 927s # [unsorted] ===> pushed new thread with id:59, number of threads:9, unprocessed:4 927s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:5 927s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:2 927s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:2 927s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:3 927s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:4 927s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:5 927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:6 927s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:7 927s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:8 927s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:9 927s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:10 927s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:11 927s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:12 927s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:13 927s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:14 927s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:15 927s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:16 927s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:17 927s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:18 927s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:19 927s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:20 927s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:21 927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:22 927s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:23 927s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:24 927s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:25 927s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:26 927s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:27 927s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:28 927s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:29 927s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:30 927s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:31 927s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:32 927s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:33 927s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:34 927s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:35 927s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:36 927s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:37 927s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:38 927s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:39 927s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:40 927s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:41 927s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:42 927s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:43 927s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:44 927s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:45 927s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:46 927s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:47 927s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:48 927s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:49 927s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:50 927s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:51 927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:52 927s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:53 927s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:54 927s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:55 927s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:56 927s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:57 927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:58 927s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:59 927s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:60 927s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:61 927s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:62 927s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:63 927s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:64 927s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:65 927s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:66 927s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:67 927s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 927s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:69 927s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:70 927s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:71 927s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:72 927s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:73 927s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:74 927s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:75 927s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:76 927s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:77 927s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:78 927s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:79 927s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:80 927s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:81 927s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:82 927s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:83 927s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:84 927s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:85 927s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:86 927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:87 927s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:88 927s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:89 927s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:90 927s ok 4 /threadpool/no-sort 927s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:1 927s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:2 927s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:3 927s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:4 927s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:5 927s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:6 927s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:7 927s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:8 927s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:9 927s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:10 927s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:11 927s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:12 927s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:13 927s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:14 927s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:15 927s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:16 927s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:17 927s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:18 927s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:19 927s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:20 927s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 927s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:22 927s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:23 927s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:24 927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:25 927s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:26 927s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:27 927s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:28 927s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:29 927s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:30 927s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:31 927s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:32 927s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:33 927s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:34 927s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:35 927s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:36 927s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:37 927s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:38 927s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:39 927s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:40 927s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:41 927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:42 927s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:43 927s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:44 927s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:45 927s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:46 927s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:47 927s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:48 927s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:49 927s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:50 927s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:51 927s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:52 927s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:53 927s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:54 927s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:55 927s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:56 927s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:57 927s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:58 927s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:59 927s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:60 927s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:61 927s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:62 927s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:63 927s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:64 927s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:65 927s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:66 927s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:67 927s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:68 927s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:69 927s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:70 927s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:71 927s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:72 927s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:73 927s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:74 927s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:75 927s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:76 927s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:77 927s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:78 927s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:79 927s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:80 927s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:81 927s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:82 927s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:83 927s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:84 927s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:85 927s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 927s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:87 927s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:88 927s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:89 927s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:90 927s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:91 927s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:92 927s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:93 927s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:94 927s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:95 927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:96 927s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:97 927s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:98 927s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:99 927s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:100 927s # Starting thread pool processing 927s ok 5 /threadpool/sort 927s ok 6 /threadpool/stop-unused-multiple 927s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 927s # Pool idle thread count: 0, unprocessed jobs: 50 928s # Pool idle thread count: 0, unprocessed jobs: 0 928s # Pool idle thread count: 0, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 932s Executing: glib/thread-pool-slow.test 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 933s # Pool idle thread count: 10, unprocessed jobs: 0 933s # Pool idle thread count: 10, unprocessed jobs: 0 933s # Pool idle thread count: 10, unprocessed jobs: 0 933s # Pool idle thread count: 10, unprocessed jobs: 0 934s # Pool idle thread count: 10, unprocessed jobs: 0 934s # Pool idle thread count: 10, unprocessed jobs: 0 934s # Pool idle thread count: 10, unprocessed jobs: 0 934s # Pool idle thread count: 10, unprocessed jobs: 0 935s # Pool idle thread count: 10, unprocessed jobs: 0 935s # Pool idle thread count: 10, unprocessed jobs: 0 935s # Pool idle thread count: 10, unprocessed jobs: 0 935s # Pool idle thread count: 10, unprocessed jobs: 0 936s # Pool idle thread count: 10, unprocessed jobs: 0 936s # Pool idle thread count: 10, unprocessed jobs: 0 936s # Pool idle thread count: 10, unprocessed jobs: 2 936s # Pool idle thread count: 8, unprocessed jobs: 0 936s # Pool idle thread count: 8, unprocessed jobs: 0 936s # Pool idle thread count: 8, unprocessed jobs: 0 937s Executing: glib/thread-pool-slow.test 937s # Pool idle thread count: 10, unprocessed jobs: 0 937s # Pool idle thread count: 10, unprocessed jobs: 0 937s # Pool idle thread count: 10, unprocessed jobs: 0 937s # Pool idle thread count: 10, unprocessed jobs: 0 938s # Pool idle thread count: 10, unprocessed jobs: 0 938s # Pool idle thread count: 10, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 942s Executing: glib/thread-pool-slow.test 942s # Pool idle thread count: 2, unprocessed jobs: 0 942s # Pool idle thread count: 2, unprocessed jobs: 0 942s # Pool idle thread count: 2, unprocessed jobs: 0 942s # Pool idle thread count: 2, unprocessed jobs: 0 943s # Pool idle thread count: 2, unprocessed jobs: 0 943s # Pool idle thread count: 2, unprocessed jobs: 0 943s # Pool idle thread count: 2, unprocessed jobs: 0 943s # Pool idle thread count: 2, unprocessed jobs: 0 944s # Pool idle thread count: 2, unprocessed jobs: 0 944s # Pool idle thread count: 2, unprocessed jobs: 0 944s # Pool idle thread count: 2, unprocessed jobs: 0 944s # Pool idle thread count: 2, unprocessed jobs: 0 945s # Pool idle thread count: 2, unprocessed jobs: 0 945s # Pool idle thread count: 2, unprocessed jobs: 0 945s # Pool idle thread count: 2, unprocessed jobs: 0 945s # Pool idle thread count: 2, unprocessed jobs: 0 946s # Pool idle thread count: 2, unprocessed jobs: 0 946s # Pool idle thread count: 2, unprocessed jobs: 0 946s # Pool idle thread count: 2, unprocessed jobs: 0 946s # Pool idle thread count: 2, unprocessed jobs: 0 947s Executing: glib/thread-pool-slow.test 947s ok 7 /threadpool/idle-time 947s # slow test /threadpool/idle-time executed in 19.52 secs 947s # End of threadpool tests 947s PASS: glib/thread-pool-slow.test 947s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3684 947s autopkgtest [18:43:06]: test thread-pool-slow: -----------------------] 948s thread-pool-slow PASS 948s autopkgtest [18:43:07]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 948s autopkgtest [18:43:07]: test threadtests: preparing testbed 948s Reading package lists... 949s Building dependency tree... 949s Reading state information... 949s Solving dependencies... 949s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 949s autopkgtest [18:43:08]: test threadtests: [----------------------- 950s Running test: glib/threadtests.test 950s TAP version 14 950s # random seed: R02S38f4210d40ae667997daa588df7b13ac 950s 1..5 950s # Start of GObject tests 950s ok 1 /GObject/threaded-object-init 950s ok 2 /GObject/threaded-weak-ref 950s # slow test /GObject/threaded-weak-ref executed in 0.76 secs 950s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 950s # /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 951s ok 3 /GObject/threaded-toggle-notify 951s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 951s # Start of threaded-weak-ref tests 951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 951s # /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. 951s ok 5 /GObject/threaded-weak-ref/on-finalization 951s # End of threaded-weak-ref tests 951s # End of GObject tests 951s PASS: glib/threadtests.test 951s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=3528 951s autopkgtest [18:43:10]: test threadtests: -----------------------] 951s autopkgtest [18:43:10]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 951s threadtests PASS 952s autopkgtest [18:43:11]: test timeout: preparing testbed 952s Reading package lists... 952s Building dependency tree... 952s Reading state information... 952s Solving dependencies... 953s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 953s autopkgtest [18:43:12]: test timeout: [----------------------- 954s Running test: glib/timeout.test 954s TAP version 14 954s # random seed: R02Sc03ff07953e45959a0048ab2e0995577 954s 1..5 954s # Start of timeout tests 954s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 956s ok 1 /timeout/seconds 956s # slow test /timeout/seconds executed in 2.10 secs 958s ok 2 /timeout/seconds-once 958s # slow test /timeout/seconds-once executed in 2.10 secs 958s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 959s Executing: glib/timeout.test 960s ok 3 /timeout/weeks-overflow 960s # slow test /timeout/weeks-overflow executed in 2.10 secs 960s ok 4 /timeout/far-future-ready-time 964s Executing: glib/timeout.test 969s Executing: glib/timeout.test 970s ok 5 /timeout/rounding 970s # slow test /timeout/rounding executed in 9.95 secs 970s # End of timeout tests 970s PASS: glib/timeout.test 970s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2908 970s autopkgtest [18:43:29]: test timeout: -----------------------] 971s autopkgtest [18:43:30]: test timeout: - - - - - - - - - - results - - - - - - - - - - 971s timeout PASS 971s autopkgtest [18:43:30]: test timer: preparing testbed 972s Reading package lists... 972s Building dependency tree... 972s Reading state information... 972s Solving dependencies... 972s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 973s autopkgtest [18:43:32]: test timer: [----------------------- 973s Running test: glib/timer.test 973s TAP version 14 973s # random seed: R02S9854303b15f4c14e973fbc17bd66b42a 973s 1..10 973s # Start of timer tests 973s ok 1 /timer/basic 973s ok 2 /timer/stop 973s ok 3 /timer/continue 973s ok 4 /timer/reset 973s ok 5 /timer/is_active 973s # End of timer tests 973s # Start of timeval tests 973s ok 6 /timeval/add 973s ok 7 /timeval/from-iso8601 973s ok 8 /timeval/to-iso8601 973s # Start of to-iso8601 tests 973s ok 9 /timeval/to-iso8601/overflow 973s # End of to-iso8601 tests 973s # End of timeval tests 973s # Start of usleep tests 973s ok 10 /usleep/with-zero-wait 973s # End of usleep tests 973s PASS: glib/timer.test 973s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3044 974s autopkgtest [18:43:33]: test timer: -----------------------] 975s autopkgtest [18:43:34]: test timer: - - - - - - - - - - results - - - - - - - - - - 975s timer PASS 975s autopkgtest [18:43:34]: test 1065022-futureproofing: preparing testbed 998s Creating nova instance adt-resolute-s390x-glib2.0-20251018-182719-juju-7f2275-prod-proposed-migration-environment-2-513ef591-ee7f-4ea6-b327-c14264ab2b7b from image adt/ubuntu-resolute-s390x-server-20251018.img (UUID c47ab411-f9be-46ce-b861-20d934d06dba)... 1035s autopkgtest [18:44:34]: testbed dpkg architecture: s390x 1035s autopkgtest [18:44:34]: testbed apt version: 3.1.6ubuntu2 1036s autopkgtest [18:44:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1036s autopkgtest [18:44:35]: testbed release detected to be: resolute 1036s autopkgtest [18:44:35]: updating testbed package index (apt update) 1037s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 1037s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1037s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1037s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1037s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [456 kB] 1037s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [50.7 kB] 1037s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [16.7 kB] 1037s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 1037s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [92.8 kB] 1038s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 1038s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [314 kB] 1038s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [4660 B] 1038s Fetched 1023 kB in 1s (977 kB/s) 1038s Reading package lists... 1039s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1039s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1039s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1039s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1040s Reading package lists... 1040s Reading package lists... 1040s Building dependency tree... 1040s Reading state information... 1040s Calculating upgrade... 1040s The following packages will be upgraded: 1040s apt gir1.2-girepository-2.0 libapt-pkg7.0 libgirepository-1.0-1 1040s libpython3-stdlib lto-disabled-list python3 python3-minimal 1040s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1040s Need to get 2763 kB of archives. 1040s After this operation, 14.3 kB of additional disk space will be used. 1040s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.7-2 [27.8 kB] 1040s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.7-2 [23.9 kB] 1040s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.7-2 [10.6 kB] 1040s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libapt-pkg7.0 s390x 3.1.8ubuntu1 [1144 kB] 1041s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x apt s390x 3.1.8ubuntu1 [1432 kB] 1041s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgirepository-1.0-1 s390x 1.86.0-6 [86.9 kB] 1041s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x gir1.2-girepository-2.0 s390x 1.86.0-6 [25.1 kB] 1041s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x lto-disabled-list all 71 [12.5 kB] 1041s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1041s Fetched 2763 kB in 1s (3133 kB/s) 1041s (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 ... 56852 files and directories currently installed.) 1041s Preparing to unpack .../python3-minimal_3.13.7-2_s390x.deb ... 1041s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 1041s Setting up python3-minimal (3.13.7-2) ... 1042s (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 ... 56852 files and directories currently installed.) 1042s Preparing to unpack .../0-python3_3.13.7-2_s390x.deb ... 1042s running python pre-rtupdate hooks for python3.13... 1042s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 1042s Preparing to unpack .../1-libpython3-stdlib_3.13.7-2_s390x.deb ... 1042s Unpacking libpython3-stdlib:s390x (3.13.7-2) over (3.13.7-1) ... 1042s Preparing to unpack .../2-libapt-pkg7.0_3.1.8ubuntu1_s390x.deb ... 1042s Unpacking libapt-pkg7.0:s390x (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 1042s Preparing to unpack .../3-apt_3.1.8ubuntu1_s390x.deb ... 1042s Unpacking apt (3.1.8ubuntu1) over (3.1.6ubuntu2) ... 1042s Preparing to unpack .../4-libgirepository-1.0-1_1.86.0-6_s390x.deb ... 1042s Unpacking libgirepository-1.0-1:s390x (1.86.0-6) over (1.84.0-1) ... 1042s Preparing to unpack .../5-gir1.2-girepository-2.0_1.86.0-6_s390x.deb ... 1042s Unpacking gir1.2-girepository-2.0:s390x (1.86.0-6) over (1.84.0-1) ... 1042s Preparing to unpack .../6-lto-disabled-list_71_all.deb ... 1042s Unpacking lto-disabled-list (71) over (69) ... 1042s Setting up lto-disabled-list (71) ... 1042s Setting up libgirepository-1.0-1:s390x (1.86.0-6) ... 1042s Setting up libapt-pkg7.0:s390x (3.1.8ubuntu1) ... 1042s Setting up libpython3-stdlib:s390x (3.13.7-2) ... 1042s Setting up apt (3.1.8ubuntu1) ... 1042s Setting up python3 (3.13.7-2) ... 1042s running python rtupdate hooks for python3.13... 1042s running python post-rtupdate hooks for python3.13... 1042s Setting up gir1.2-girepository-2.0:s390x (1.86.0-6) ... 1042s Processing triggers for man-db (2.13.1-1) ... 1043s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1044s autopkgtest [18:44:43]: upgrading testbed (apt dist-upgrade and autopurge) 1045s Reading package lists... 1045s Building dependency tree... 1045s Reading state information... 1045s Calculating upgrade... 1045s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1045s Reading package lists... 1045s Building dependency tree... 1045s Reading state information... 1045s Solving dependencies... 1045s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1046s autopkgtest [18:44:45]: rebooting testbed after setup commands that affected boot 1061s Reading package lists... 1062s Building dependency tree... 1062s Reading state information... 1062s Solving dependencies... 1062s The following NEW packages will be installed: 1062s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1062s libdconf1 1062s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1062s Need to get 140 kB of archives. 1062s After this operation, 635 kB of additional disk space will be used. 1062s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libdconf1 s390x 0.40.0-5willsync1 [40.0 kB] 1062s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x dconf-service s390x 0.40.0-5willsync1 [28.0 kB] 1062s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x dconf-gsettings-backend s390x 0.40.0-5willsync1 [22.6 kB] 1062s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x dpkg-repack all 1.54 [11.2 kB] 1062s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x gsettings-desktop-schemas all 49.0-1ubuntu1 [38.1 kB] 1063s Fetched 140 kB in 1s (251 kB/s) 1063s Selecting previously unselected package libdconf1:s390x. 1063s (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 ... 56852 files and directories currently installed.) 1063s Preparing to unpack .../libdconf1_0.40.0-5willsync1_s390x.deb ... 1063s Unpacking libdconf1:s390x (0.40.0-5willsync1) ... 1063s Selecting previously unselected package dconf-service. 1063s Preparing to unpack .../dconf-service_0.40.0-5willsync1_s390x.deb ... 1063s Unpacking dconf-service (0.40.0-5willsync1) ... 1063s Selecting previously unselected package dconf-gsettings-backend:s390x. 1063s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5willsync1_s390x.deb ... 1063s Unpacking dconf-gsettings-backend:s390x (0.40.0-5willsync1) ... 1063s Selecting previously unselected package dpkg-repack. 1063s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1063s Unpacking dpkg-repack (1.54) ... 1063s Selecting previously unselected package gsettings-desktop-schemas. 1063s Preparing to unpack .../gsettings-desktop-schemas_49.0-1ubuntu1_all.deb ... 1063s Unpacking gsettings-desktop-schemas (49.0-1ubuntu1) ... 1063s Setting up dpkg-repack (1.54) ... 1063s Setting up libdconf1:s390x (0.40.0-5willsync1) ... 1063s Setting up dconf-service (0.40.0-5willsync1) ... 1063s Setting up dconf-gsettings-backend:s390x (0.40.0-5willsync1) ... 1063s Setting up gsettings-desktop-schemas (49.0-1ubuntu1) ... 1063s Processing triggers for man-db (2.13.1-1) ... 1063s Processing triggers for libglib2.0-0t64:s390x (2.86.0-2) ... 1063s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1070s autopkgtest [18:45:09]: test 1065022-futureproofing: [----------------------- 1070s + export DEBIAN_FRONTEND=noninteractive 1070s + n=0 1070s + failed=0 1070s + binary_package=libglib2.0-0t64 1070s + future_binary_package=libglib2.0-0xyz 1070s + pwd 1070s + srcdir=/tmp/autopkgtest.8YAqaV/build.2gW/src 1070s + mktemp -d 1070s + tmpdir=/tmp/tmp.EJF12HpjVC 1070s + cd /tmp/tmp.EJF12HpjVC 1070s + exec 1070s + [ -e /tmp/autopkgtest.8YAqaV/build.2gW/src/debian/tests/manual/local-1065022.sources ] 1070s + dpkg-query -W dpkg-repack 1070s dpkg-repack 1.54 1070s + dpkg-query -s libglib2.0-0t64 1070s Package: libglib2.0-0t64 1070s Status: install ok installed 1070s Priority: important 1070s Section: libs 1070s Installed-Size: 4586 1070s Maintainer: Ubuntu Developers 1070s Architecture: s390x 1070s Multi-Arch: same 1070s Source: glib2.0 1070s Version: 2.86.0-2 1070s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1070s 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) 1070s 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) 1070s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1070s Suggests: low-memory-monitor 1070s 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~) 1070s Description: GLib library of C routines 1070s GLib is a library containing many useful C routines for things such 1070s as trees, hashes, lists, and strings. It is a useful general-purpose 1070s C library used by projects such as GTK+, GIMP, and GNOME. 1070s . 1070s This package contains the shared libraries. 1070s Original-Maintainer: Debian GNOME Maintainers 1070s Homepage: https://gitlab.gnome.org/GNOME/glib 1070s + dpkg-query -W -f ${Version} libglib2.0-0t64 1070s + binary_version=2.86.0-2 1070s + dpkg-repack --generate libglib2.0-0t64 1070s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1070s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Cs6Zy8 for libglib2.0-0t64 1070s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Cs6Zy8 ." 1070s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Cs6Zy8/DEBIAN/control 1070s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Cs6Zy8/DEBIAN/control 1070s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Cs6Zy8/DEBIAN/control 1070s + 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.Cs6Zy8/DEBIAN/control 1070s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Cs6Zy8 libglib2.0-0xyz.deb 1070s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1072s + dpkg-deb --info libglib2.0-0xyz.deb 1072s new Debian package, version 2.0. 1072s size 1599478 bytes: control archive=25900 bytes. 1072s 1381 bytes, 24 lines control 1072s 1136 bytes, 14 lines md5sums 1072s 1280 bytes, 44 lines * postinst #!/bin/sh 1072s 2576 bytes, 87 lines * postrm #!/bin/sh 1072s 2408 bytes, 53 lines * preinst #!/bin/sh 1072s 466 bytes, 10 lines shlibs 1072s 172677 bytes, 4529 lines symbols 1072s 172 bytes, 4 lines triggers 1072s Package: libglib2.0-0xyz 1072s Source: glib2.0 1072s Version: 2.86.0-2 1072s Architecture: s390x 1072s Maintainer: Ubuntu Developers 1072s Installed-Size: 4586 1072s 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) 1072s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1072s Suggests: low-memory-monitor 1072s 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 1072s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1072s 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) 1072s Section: libs 1072s Priority: important 1072s Multi-Arch: same 1072s Homepage: https://gitlab.gnome.org/GNOME/glib 1072s Description: GLib library of C routines 1072s GLib is a library containing many useful C routines for things such 1072s as trees, hashes, lists, and strings. It is a useful general-purpose 1072s C library used by projects such as GTK+, GIMP, and GNOME. 1072s . 1072s This package contains the shared libraries. 1072s . 1072s (Repackaged on Sat, 18 Oct 2025 18:45:09 +0000 by dpkg-repack.) 1072s + dpkg-deb --contents libglib2.0-0xyz.deb 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/lib/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/lib/s390x-linux-gnu/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/lib/s390x-linux-gnu/gio/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/lib/s390x-linux-gnu/gio/modules/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/lib/s390x-linux-gnu/glib-2.0/ 1072s -rwxr-xr-x root/root 10408 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/glib-2.0/gio-launch-desktop 1072s -rwxr-xr-x root/root 14504 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/glib-2.0/gio-querymodules 1072s -rwxr-xr-x root/root 51408 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/glib-2.0/glib-compile-schemas 1072s -rw-r--r-- root/root 2117104 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgio-2.0.so.0.8600.0 1072s -rw-r--r-- root/root 1494504 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libglib-2.0.so.0.8600.0 1072s -rw-r--r-- root/root 14376 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgmodule-2.0.so.0.8600.0 1072s -rw-r--r-- root/root 420056 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgobject-2.0.so.0.8600.0 1072s -rw-r--r-- root/root 6152 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgthread-2.0.so.0.8600.0 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/doc/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/doc/libglib2.0-0t64/ 1072s -rw-r--r-- root/root 256698 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1072s -rw-r--r-- root/root 1703 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/README.Debian 1072s -rw-r--r-- root/root 3248 2025-09-05 12:42 ./usr/share/doc/libglib2.0-0t64/README.md 1072s -rw-r--r-- root/root 37088 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1072s -rw-r--r-- root/root 55103 2025-09-12 02:01 ./usr/share/doc/libglib2.0-0t64/copyright 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/glib-2.0/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/glib-2.0/schemas/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/lintian/ 1072s drwxr-xr-x root/root 0 2025-10-18 18:45 ./usr/share/lintian/overrides/ 1072s -rw-r--r-- root/root 520 2025-09-12 02:01 ./usr/share/lintian/overrides/libglib2.0-0t64 1072s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.0 1072s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.0 1072s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.0 1072s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.0 1072s lrwxrwxrwx root/root 0 2025-09-12 02:01 ./usr/lib/s390x-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.0 1072s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1072s Reading package lists... 1072s Building dependency tree... 1072s Reading state information... 1072s dconf-gsettings-backend is already the newest version (0.40.0-5willsync1). 1072s gsettings-desktop-schemas is already the newest version (49.0-1ubuntu1). 1072s Solving dependencies... 1072s The following additional packages will be installed: 1072s xdg-user-dirs 1072s Suggested packages: 1072s low-memory-monitor 1072s The following packages will be REMOVED: 1072s libglib2.0-0t64 1072s The following NEW packages will be installed: 1072s libglib2.0-0xyz xdg-user-dirs 1072s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1072s Need to get 20.0 kB/1619 kB of archives. 1072s After this operation, 168 kB of additional disk space will be used. 1072s Get:1 /tmp/tmp.EJF12HpjVC/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.86.0-2 [1599 kB] 1072s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x xdg-user-dirs s390x 0.18-3 [20.0 kB] 1073s Fetched 20.0 kB in 0s (90.6 kB/s) 1073s dpkg: libglib2.0-0t64:s390x: dependency problems, but removing anyway as you requested: 1073s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1073s s390-tools depends on libglib2.0-0t64 (>= 2.32.0). 1073s python3-gi depends on libglib2.0-0t64 (>= 2.78.0). 1073s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1073s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1073s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0). 1073s libnetplan1:s390x depends on libglib2.0-0t64 (>= 2.76.0). 1073s libgirepository-1.0-1:s390x depends on libglib2.0-0t64 (>= 2.82.0). 1073s libdconf1:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1073s gir1.2-glib-2.0:s390x depends on libglib2.0-0t64 (= 2.86.0-2). 1073s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1073s dconf-gsettings-backend:s390x depends on libglib2.0-0t64 (>= 2.80.0). 1073s 1073s (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 ... 56919 files and directories currently installed.) 1073s Removing libglib2.0-0t64:s390x (2.86.0-2) ... 1073s Selecting previously unselected package libglib2.0-0xyz:s390x. 1073s (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 ... 56900 files and directories currently installed.) 1073s Preparing to unpack .../libglib2.0-0xyz.deb ... 1073s Unpacking libglib2.0-0xyz:s390x (2.86.0-2) ... 1073s Selecting previously unselected package xdg-user-dirs. 1073s Preparing to unpack .../xdg-user-dirs_0.18-3_s390x.deb ... 1073s Unpacking xdg-user-dirs (0.18-3) ... 1073s Setting up xdg-user-dirs (0.18-3) ... 1073s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1073s Setting up libglib2.0-0xyz:s390x (2.86.0-2) ... 1073s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1073s Processing triggers for man-db (2.13.1-1) ... 1073s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1073s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1073s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1073s + n=1 1073s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1073s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1073s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1073s + n=2 1073s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1073s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1073s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + n=3 1073s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + echo ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + n=4 1073s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + echo ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + n=5 1073s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + echo ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + n=6 1073s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + echo ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s + apt-get -y purge libglib2.0-0t64 1073s Reading package lists...ok 3 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s ok 4 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1073s ok 5 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s ok 6 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1073s 1074s Building dependency tree... 1074s Reading state information... 1074s Solving dependencies... 1074s The following packages will be REMOVED: 1074s libglib2.0-0t64* 1074s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1074s After this operation, 0 B of additional disk space will be used. 1074s (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 ... 56934 files and directories currently installed.) 1074s Purging configuration files for libglib2.0-0t64:s390x (2.86.0-2) ... 1074s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s + n=7 1074s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s + n=8 1074s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + n=9 1074s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + echo ok 9 - test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + n=10 1074s + test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + echo ok 10 - test -s /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1074s + assert test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + n=11 1074s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + echo ok 11 - test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + assert test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + n=12 1074s + test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + echo ok 12 - test -s /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1074s + apt-get -y purge libglib2.0-0xyz 1074s Reading package lists... 1074s Building dependency tree... 1074s Reading state information... 1074s Solving dependencies... 1074s The following additional packages will be installed: 1074s libglib2.0-0t64 1074s Suggested packages: 1074s low-memory-monitor 1074s The following packages will be REMOVED: 1074s libglib2.0-0xyz* 1074s The following NEW packages will be installed: 1074s libglib2.0-0t64 1075s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1075s Need to get 1599 kB of archives. 1075s After this operation, 0 B of additional disk space will be used. 1075s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libglib2.0-0t64 s390x 2.86.0-2 [1599 kB] 1076s Fetched 1599 kB in 1s (1370 kB/s) 1076s dpkg: libglib2.0-0xyz:s390x: dependency problems, but removing anyway as you requested: 1076s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s s390-tools depends on libglib2.0-0t64 (>= 2.32.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s python3-gi depends on libglib2.0-0t64 (>= 2.78.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s libnetplan1:s390x depends on libglib2.0-0t64 (>= 2.76.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s libgirepository-1.0-1:s390x depends on libglib2.0-0t64 (>= 2.82.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s libdconf1:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s gir1.2-glib-2.0:s390x depends on libglib2.0-0t64 (= 2.86.0-2); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s dconf-gsettings-backend:s390x depends on libglib2.0-0t64 (>= 2.80.0); however: 1076s Package libglib2.0-0t64 is not installed. 1076s Package libglib2.0-0xyz:s390x which provides libglib2.0-0t64 is to be removed. 1076s 1076s (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 ... 56934 files and directories currently installed.) 1076s Removing libglib2.0-0xyz:s390x (2.86.0-2) ... 1076s Selecting previously unselected package libglib2.0-0t64:s390x. 1076s (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 ... 56915 files and directories currently installed.) 1076s Preparing to unpack .../libglib2.0-0t64_2.86.0-2_s390x.deb ... 1076s Unpacking libglib2.0-0t64:s390x (2.86.0-2) ... 1076s Setting up libglib2.0-0t64:s390x (2.86.0-2) ... 1076s Processing triggers for libc-bin (2.42-0ubuntu3) ... 1076s (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 ... 56934 files and directories currently installed.) 1076s Purging configuration files for libglib2.0-0xyz:s390x (2.86.0-2) ... 1076s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s not ok 15 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1076s not ok 16 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1076s 1..16 1076s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + n=13 1076s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + failed=1 1076s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + n=14 1076s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + failed=1 1076s + assert_not test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1076s + n=15 1076s + test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1076s + echo not ok 15 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/libdconfsettings.so 1076s + failed=1 1076s + assert_not test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1076s + n=16 1076s + test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1076s + echo not ok 16 - should not have succeeded: test -e /usr/lib/s390x-linux-gnu/gio/modules/giomodule.cache 1076s + failed=1 1076s + echo 1..16 1076s + exit 1 1076s autopkgtest [18:45:15]: test 1065022-futureproofing: -----------------------] 1077s autopkgtest [18:45:16]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1077s 1065022-futureproofing FLAKY non-zero exit status 1 1077s autopkgtest [18:45:16]: @@@@@@@@@@@@@@@@@@@@ summary 1077s build PASS (superficial) 1077s build-static PASS (superficial) 1077s girepository-tools PASS (superficial) 1077s libgio-2.0-dev-bin PASS (superficial) 1077s libglib2.0-dev PASS (superficial) 1077s installed-tests PASS 1077s closure-refcount PASS 1077s debugcontroller PASS 1077s gdbus-server-auth PASS 1077s gdbus-threading PASS 1077s gmenumodel PASS 1077s mainloop PASS 1077s memory-monitor-dbus PASS 1077s socket PASS 1077s testfilemonitor PASS 1077s thread-pool-slow PASS 1077s threadtests PASS 1077s timeout PASS 1077s timer PASS 1077s 1065022-futureproofing FLAKY non-zero exit status 1